#C9CF38#C9CF38

#C9CF38 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.4% C 0.165 H 111.8°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#C9CF38
RGBrgb(201, 207, 56)
HSLhsl(62, 61%, 52%)
HSVhsv(62, 73%, 81%)
CMYKcmyk(2.9%, 0%, 72.9%, 18.8%)
CIE-LABlab(80.36, -19.65, 69.40)
CIE-LCHlch(80.36, 72.13, 105.81°)
OKLaboklab(82.4% -0.0612 0.153)
OKLCHoklch(82.4% 0.165 111.8)
XYZxyz(47.1156, 57.3299, 12.3245)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CF38 #3E38CF
analogous
#CF8A38 #C9CF38 #7ECF38
triadic
#C9CF38 #38C9CF #CF38C9
tetradic
#C9CF38 #38CF8A #3E38CF #CF387E
square
#C9CF38 #38CF8A #3E38CF #CF387E
split-complementary
#C9CF38 #387ECF #8A38CF
monochromatic
#6E711B #9EA327 #C9CF38 #D6DB69 #E4E79B

Accessibility & contrast

On white

1.68
#C9CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#C9CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CF38
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CF38#FFFFFF#000000##000000
##C9CF381.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9cf38;
/* rgb */ color: rgb(201, 207, 56);
/* oklch */ color: oklch(82.4% 0.165 111.8);
Tailwind
colors: {
  custom: {
    50: '#dddd7a',
    500: '#c9cf38',
    950: '#000000',
  },
}
SCSS
$custom: #c9cf38;
$custom-light: #dddd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cf38",
  "rgb": {
    "r": 201,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 62.384,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.82399,
    "c": 0.16481,
    "h": 111.8
  },
  "luminance": 0.57329
}

Semantic roles & 50–950 ramp

primary
#C9CF38
secondary
#34317A
accent
#44E44A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C9CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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