#C9CE40#C9CE40

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

Color values

HEX#C9CE40
RGBrgb(201, 206, 64)
HSLhsl(62, 59%, 53%)
HSVhsv(62, 69%, 81%)
CMYKcmyk(2.4%, 0%, 68.9%, 19.2%)
CIE-LABlab(80.14, -18.77, 66.38)
CIE-LCHlch(80.14, 68.99, 105.79°)
OKLaboklab(82.24% -0.058 0.148)
OKLCHoklch(82.24% 0.159 111.4)
XYZxyz(47.0856, 56.9315, 13.3580)
Luminance0.5693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CE40 #4540CE
analogous
#CE8C40 #C9CE40 #82CE40
triadic
#C9CE40 #40C9CE #CE40C9
tetradic
#C9CE40 #40CE8C #4540CE #CE4082
square
#C9CE40 #40CE8C #4540CE #CE4082
split-complementary
#C9CE40 #4082CE #8C40CE
monochromatic
#72751E #A2A62B #C9CE40 #D7DA71 #E5E7A1

Accessibility & contrast

On white

1.70
#C9CE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9CE40#FFFFFF#000000##000000
##C9CE401.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#DEC94A
Tritanopia (blue-blind)
#D7C1B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c9ce40;
/* rgb */ color: rgb(201, 206, 64);
/* oklch */ color: oklch(82.2% 0.159 111.4);
Tailwind
colors: {
  custom: {
    50: '#dddc7d',
    500: '#c9ce40',
    950: '#000000',
  },
}
SCSS
$custom: #c9ce40;
$custom-light: #dddc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ce40",
  "rgb": {
    "r": 201,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 62.113,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82235,
    "c": 0.15898,
    "h": 111.4
  },
  "luminance": 0.5693
}

Semantic roles & 50–950 ramp

primary
#C9CE40
secondary
#37347E
accent
#45E24B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C9CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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