#CFC84A#CFC84A

#CFC84A is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.145 H 106.1°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CFC84A
RGBrgb(207, 200, 74)
HSLhsl(57, 58%, 55%)
HSVhsv(57, 64%, 81%)
CMYKcmyk(0%, 3.4%, 64.3%, 18.8%)
CIE-LABlab(79.08, -12.70, 61.57)
CIE-LCHlch(79.08, 62.87, 101.66°)
OKLaboklab(81.53% -0.0403 0.1393)
OKLCHoklch(81.53% 0.145 106.1)
XYZxyz(47.6241, 55.0700, 14.5982)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC84A #4A51CF
analogous
#CF854A #CFC84A #94CF4A
triadic
#CFC84A #4ACFC8 #C84ACF
tetradic
#CFC84A #4ACF85 #4A51CF #CF4A94
square
#CFC84A #4ACF85 #4A51CF #CF4A94
split-complementary
#CFC84A #4A94CF #854ACF
monochromatic
#7D7921 #AEA72E #CFC84A #DCD77A #E9E5AB

Accessibility & contrast

On white

1.75
#CFC84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#CFC84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC84A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC84A#FFFFFF#000000##000000
##CFC84A1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13A
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#DEBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc84a;
/* rgb */ color: rgb(207, 200, 74);
/* oklch */ color: oklch(81.5% 0.145 106.1);
Tailwind
colors: {
  custom: {
    50: '#e1d883',
    500: '#cfc84a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc84a;
$custom-light: #e1d883;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc84a",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 74
  },
  "hsl": {
    "h": 56.842,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8153,
    "c": 0.14499,
    "h": 106.1
  },
  "luminance": 0.55068
}

Semantic roles & 50–950 ramp

primary
#CFC84A
secondary
#383C85
accent
#4FE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC84A

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

Preview Lab → · Contrast checker → · Palette generator →

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