#CFC84B#CFC84B

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

Color values

HEX#CFC84B
RGBrgb(207, 200, 75)
HSLhsl(57, 58%, 55%)
HSVhsv(57, 64%, 81%)
CMYKcmyk(0%, 3.4%, 63.8%, 18.8%)
CIE-LABlab(79.09, -12.64, 61.17)
CIE-LCHlch(79.09, 62.46, 101.68°)
OKLaboklab(81.54% -0.04 0.1386)
OKLCHoklch(81.54% 0.144 106.1)
XYZxyz(47.6581, 55.0836, 14.7770)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC84B #4B52CF
analogous
#CF864B #CFC84B #94CF4B
triadic
#CFC84B #4BCFC8 #C84BCF
tetradic
#CFC84B #4BCF86 #4B52CF #CF4B94
square
#CFC84B #4BCF86 #4B52CF #CF4B94
split-complementary
#CFC84B #4B94CF #864BCF
monochromatic
#7E7922 #AEA82E #CFC84B #DCD77B #E9E6AC

Accessibility & contrast

On white

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

On black

12.02
#CFC84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC84B
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC84B#FFFFFF#000000##000000
##CFC84B1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13B
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#DDBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc84b;
/* rgb */ color: rgb(207, 200, 75);
/* oklch */ color: oklch(81.5% 0.144 106.1);
Tailwind
colors: {
  custom: {
    50: '#e1d883',
    500: '#cfc84b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc84b;
$custom-light: #e1d883;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc84b",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 75
  },
  "hsl": {
    "h": 56.818,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81538,
    "c": 0.14424,
    "h": 106.1
  },
  "luminance": 0.55082
}

Semantic roles & 50–950 ramp

primary
#CFC84B
secondary
#393D86
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC84B

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

Preview Lab → · Contrast checker → · Palette generator →

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