#C0C738#C0C738

#C0C738 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.9% C 0.159 H 112.3°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#C0C738
RGBrgb(192, 199, 56)
HSLhsl(63, 56%, 50%)
HSVhsv(63, 72%, 78%)
CMYKcmyk(3.5%, 0%, 71.9%, 22%)
CIE-LABlab(77.48, -19.48, 66.41)
CIE-LCHlch(77.48, 69.21, 106.35°)
OKLaboklab(79.92% -0.0603 0.147)
OKLCHoklch(79.92% 0.159 112.3)
XYZxyz(42.8768, 52.3399, 11.5846)
Luminance0.5234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C738 #3F38C7
analogous
#C78638 #C0C738 #79C738
triadic
#C0C738 #38C0C7 #C738C0
tetradic
#C0C738 #38C786 #3F38C7 #C73879
square
#C0C738 #38C786 #3F38C7 #C73879
split-complementary
#C0C738 #3879C7 #8638C7
monochromatic
#64671D #92972B #C0C738 #CFD468 #DEE298

Accessibility & contrast

On white

1.83
#C0C738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#C0C738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C738
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C738#FFFFFF#000000##000000
##C0C7381.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1D
Deuteranopia (green-blind)
#D7C143
Tritanopia (blue-blind)
#CDBBAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c0c738;
/* rgb */ color: rgb(192, 199, 56);
/* oklch */ color: oklch(79.9% 0.159 112.3);
Tailwind
colors: {
  custom: {
    50: '#d7d779',
    500: '#c0c738',
    950: '#000000',
  },
}
SCSS
$custom: #c0c738;
$custom-light: #d7d779;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c738",
  "rgb": {
    "r": 192,
    "g": 199,
    "b": 56
  },
  "hsl": {
    "h": 62.937,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.79921,
    "c": 0.15886,
    "h": 112.3
  },
  "luminance": 0.52339
}

Semantic roles & 50–950 ramp

primary
#C0C738
secondary
#353272
accent
#48DF50
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0C738

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C0C738 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva