#CFC92F#CFC92F

#CFC92F 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#CFC92F
RGBrgb(207, 201, 47)
HSLhsl(58, 63%, 50%)
HSVhsv(58, 77%, 81%)
CMYKcmyk(0%, 2.9%, 77.3%, 18.8%)
CIE-LABlab(79.18, -14.51, 71.33)
CIE-LCHlch(79.18, 72.79, 101.50°)
OKLaboklab(81.56% -0.048 0.1553)
OKLCHoklch(81.56% 0.163 107.2)
XYZxyz(47.1338, 55.2456, 10.8694)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC92F #2F35CF
analogous
#CF792F #CFC92F #85CF2F
triadic
#CFC92F #2FCFC9 #C92FCF
tetradic
#CFC92F #2FCF79 #2F35CF #CF2F85
square
#CFC92F #2FCF79 #2F35CF #CF2F85
split-complementary
#CFC92F #2F85CF #792FCF
monochromatic
#6B6818 #9D9924 #CFC92F #DBD660 #E6E392

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC92F#FFFFFF#000000##000000
##CFC92F1.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)
#DDC73C
Tritanopia (blue-blind)
#DEBBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc92f;
/* rgb */ color: rgb(207, 201, 47);
/* oklch */ color: oklch(81.6% 0.163 107.2);
Tailwind
colors: {
  custom: {
    50: '#e2d975',
    500: '#cfc92f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc92f;
$custom-light: #e2d975;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc92f",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 47
  },
  "hsl": {
    "h": 57.75,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81557,
    "c": 0.16252,
    "h": 107.2
  },
  "luminance": 0.55244
}

Semantic roles & 50–950 ramp

primary
#CFC92F
secondary
#2D3075
accent
#48E642
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFC92F

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

Preview Lab → · Contrast checker → · Palette generator →

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