#CFC83D#CFC83D

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

Color values

HEX#CFC83D
RGBrgb(207, 200, 61)
HSLhsl(57, 60%, 53%)
HSVhsv(57, 71%, 81%)
CMYKcmyk(0%, 3.4%, 70.5%, 18.8%)
CIE-LABlab(78.99, -13.41, 66.51)
CIE-LCHlch(78.99, 67.85, 101.40°)
OKLaboklab(81.43% -0.0436 0.1476)
OKLCHoklch(81.43% 0.154 106.5)
XYZxyz(47.2306, 54.9125, 12.5253)
Luminance0.5491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC83D #3D44CF
analogous
#CF7F3D #CFC83D #8DCF3D
triadic
#CFC83D #3DCFC8 #C83DCF
tetradic
#CFC83D #3DCF7F #3D44CF #CF3D8D
square
#CFC83D #3DCF7F #3D44CF #CF3D8D
split-complementary
#CFC83D #3D8DCF #7F3DCF
monochromatic
#75711D #A6A029 #CFC83D #DBD66E #E7E49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC83D#FFFFFF#000000##000000
##CFC83D1.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)
#D9C125
Deuteranopia (green-blind)
#DCC647
Tritanopia (blue-blind)
#DEBBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc83d;
/* rgb */ color: rgb(207, 200, 61);
/* oklch */ color: oklch(81.4% 0.154 106.5);
Tailwind
colors: {
  custom: {
    50: '#e1d87b',
    500: '#cfc83d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc83d;
$custom-light: #e1d87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc83d",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 61
  },
  "hsl": {
    "h": 57.123,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81428,
    "c": 0.15388,
    "h": 106.5
  },
  "luminance": 0.54911
}

Semantic roles & 50–950 ramp

primary
#CFC83D
secondary
#33367D
accent
#4CE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC83D

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

Preview Lab → · Contrast checker → · Palette generator →

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