#CFC83F#CFC83F

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

Color values

HEX#CFC83F
RGBrgb(207, 200, 63)
HSLhsl(57, 60%, 53%)
HSVhsv(57, 70%, 81%)
CMYKcmyk(0%, 3.4%, 69.6%, 18.8%)
CIE-LABlab(79.00, -13.31, 65.79)
CIE-LCHlch(79.00, 67.12, 101.44°)
OKLaboklab(81.44% -0.0431 0.1464)
OKLCHoklch(81.44% 0.153 106.4)
XYZxyz(47.2854, 54.9345, 12.8143)
Luminance0.5493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC83F #3F46CF
analogous
#CF803F #CFC83F #8ECF3F
triadic
#CFC83F #3FCFC8 #C83FCF
tetradic
#CFC83F #3FCF80 #3F46CF #CF3F8E
square
#CFC83F #3FCF80 #3F46CF #CF3F8E
split-complementary
#CFC83F #3F8ECF #803FCF
monochromatic
#76721E #A7A12A #CFC83F #DBD670 #E7E4A1

Accessibility & contrast

On white

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

On black

11.99
#CFC83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC83F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC83F#FFFFFF#000000##000000
##CFC83F1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc83f;
/* rgb */ color: rgb(207, 200, 63);
/* oklch */ color: oklch(81.4% 0.153 106.4);
Tailwind
colors: {
  custom: {
    50: '#e1d87c',
    500: '#cfc83f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc83f;
$custom-light: #e1d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc83f",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 63
  },
  "hsl": {
    "h": 57.083,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81442,
    "c": 0.15262,
    "h": 106.4
  },
  "luminance": 0.54933
}

Semantic roles & 50–950 ramp

primary
#CFC83F
secondary
#34377F
accent
#4CE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC83F

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

Preview Lab → · Contrast checker → · Palette generator →

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