#CFC83B#CFC83B

#CFC83B is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.4% C 0.155 H 106.5°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CFC83B
RGBrgb(207, 200, 59)
HSLhsl(57, 61%, 52%)
HSVhsv(57, 71%, 81%)
CMYKcmyk(0%, 3.4%, 71.5%, 18.8%)
CIE-LABlab(78.98, -13.51, 67.21)
CIE-LCHlch(78.98, 68.56, 101.36°)
OKLaboklab(81.42% -0.0441 0.1487)
OKLCHoklch(81.42% 0.155 106.5)
XYZxyz(47.1777, 54.8914, 12.2468)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC83B #3B42CF
analogous
#CF7E3B #CFC83B #8CCF3B
triadic
#CFC83B #3BCFC8 #C83BCF
tetradic
#CFC83B #3BCF7E #3B42CF #CF3B8C
square
#CFC83B #3BCF7E #3B42CF #CF3B8C
split-complementary
#CFC83B #3B8CCF #7E3BCF
monochromatic
#736F1C #A59F28 #CFC83B #DBD66C #E7E49D

Accessibility & contrast

On white

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

On black

11.98
#CFC83B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC83B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC83B#FFFFFF#000000##000000
##CFC83B1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C022
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#DEBBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc83b;
/* rgb */ color: rgb(207, 200, 59);
/* oklch */ color: oklch(81.4% 0.155 106.5);
Tailwind
colors: {
  custom: {
    50: '#e1d87a',
    500: '#cfc83b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc83b;
$custom-light: #e1d87a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc83b",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 59
  },
  "hsl": {
    "h": 57.162,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81415,
    "c": 0.1551,
    "h": 106.5
  },
  "luminance": 0.5489
}

Semantic roles & 50–950 ramp

primary
#CFC83B
secondary
#32367C
accent
#4CE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC83B

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

Preview Lab → · Contrast checker → · Palette generator →

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