#CFC92E#CFC92E

#CFC92E is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.163 H 107.2°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CFC92E
RGBrgb(207, 201, 46)
HSLhsl(58, 64%, 50%)
HSVhsv(58, 78%, 81%)
CMYKcmyk(0%, 2.9%, 77.8%, 18.8%)
CIE-LABlab(79.18, -14.54, 71.62)
CIE-LCHlch(79.18, 73.08, 101.48°)
OKLaboklab(81.55% -0.0481 0.1557)
OKLCHoklch(81.55% 0.163 107.2)
XYZxyz(47.1139, 55.2376, 10.7644)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC92E #2E34CF
analogous
#CF792E #CFC92E #85CF2E
triadic
#CFC92E #2ECFC9 #C92ECF
tetradic
#CFC92E #2ECF79 #2E34CF #CF2E85
square
#CFC92E #2ECF79 #2E34CF #CF2E85
split-complementary
#CFC92E #2E85CF #792ECF
monochromatic
#6B6818 #9D9823 #CFC92E #DBD75F #E7E391

Accessibility & contrast

On white

1.74
#CFC92E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CFC92E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC92E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC92E#FFFFFF#000000##000000
##CFC92E1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#DDC73B
Tritanopia (blue-blind)
#DEBBAC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc92e;
/* rgb */ color: rgb(207, 201, 46);
/* oklch */ color: oklch(81.6% 0.163 107.2);
Tailwind
colors: {
  custom: {
    50: '#e2d974',
    500: '#cfc92e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc92e;
$custom-light: #e2d974;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc92e",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 46
  },
  "hsl": {
    "h": 57.764,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.81552,
    "c": 0.16299,
    "h": 107.2
  },
  "luminance": 0.55236
}

Semantic roles & 50–950 ramp

primary
#CFC92E
secondary
#2D2F75
accent
#47E741
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFC92E

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

Preview Lab → · Contrast checker → · Palette generator →

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