#C9CE42#C9CE42

#C9CE42 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.2% C 0.158 H 111.4°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#C9CE42
RGBrgb(201, 206, 66)
HSLhsl(62, 59%, 53%)
HSVhsv(62, 68%, 81%)
CMYKcmyk(2.4%, 0%, 68%, 19.2%)
CIE-LABlab(80.15, -18.67, 65.65)
CIE-LCHlch(80.15, 68.26, 105.87°)
OKLaboklab(82.25% -0.0576 0.1468)
OKLCHoklch(82.25% 0.158 111.4)
XYZxyz(47.1435, 56.9546, 13.6631)
Luminance0.5695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CE42 #4742CE
analogous
#CE8D42 #C9CE42 #83CE42
triadic
#C9CE42 #42C9CE #CE42C9
tetradic
#C9CE42 #42CE8D #4742CE #CE4283
square
#C9CE42 #42CE8D #4742CE #CE4283
split-complementary
#C9CE42 #4283CE #8D42CE
monochromatic
#74771F #A3A72B #C9CE42 #D7DB73 #E5E7A3

Accessibility & contrast

On white

1.69
#C9CE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#C9CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CE42
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CE42#FFFFFF#000000##000000
##C9CE421.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52C
Deuteranopia (green-blind)
#DEC94C
Tritanopia (blue-blind)
#D7C2B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c9ce42;
/* rgb */ color: rgb(201, 206, 66);
/* oklch */ color: oklch(82.2% 0.158 111.4);
Tailwind
colors: {
  custom: {
    50: '#dddc7f',
    500: '#c9ce42',
    950: '#000000',
  },
}
SCSS
$custom: #c9ce42;
$custom-light: #dddc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ce42",
  "rgb": {
    "r": 201,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 62.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82249,
    "c": 0.15767,
    "h": 111.4
  },
  "luminance": 0.56953
}

Semantic roles & 50–950 ramp

primary
#C9CE42
secondary
#38357F
accent
#46E24B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C9CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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