#CFC83C#CFC83C

#CFC83C 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#CFC83C
RGBrgb(207, 200, 60)
HSLhsl(57, 60%, 52%)
HSVhsv(57, 71%, 81%)
CMYKcmyk(0%, 3.4%, 71%, 18.8%)
CIE-LABlab(78.98, -13.46, 66.86)
CIE-LCHlch(78.98, 68.20, 101.38°)
OKLaboklab(81.42% -0.0439 0.1481)
OKLCHoklch(81.42% 0.155 106.5)
XYZxyz(47.2039, 54.9019, 12.3847)
Luminance0.5490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC83C #3C43CF
analogous
#CF7F3C #CFC83C #8CCF3C
triadic
#CFC83C #3CCFC8 #C83CCF
tetradic
#CFC83C #3CCF7F #3C43CF #CF3C8C
square
#CFC83C #3CCF7F #3C43CF #CF3C8C
split-complementary
#CFC83C #3C8CCF #7F3CCF
monochromatic
#74701D #A59F29 #CFC83C #DBD66D #E7E49E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC83C#FFFFFF#000000##000000
##CFC83C1.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)
#D9C024
Deuteranopia (green-blind)
#DCC646
Tritanopia (blue-blind)
#DEBBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc83c;
/* rgb */ color: rgb(207, 200, 60);
/* oklch */ color: oklch(81.4% 0.154 106.5);
Tailwind
colors: {
  custom: {
    50: '#e1d87b',
    500: '#cfc83c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc83c;
$custom-light: #e1d87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc83c",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 60
  },
  "hsl": {
    "h": 57.143,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81421,
    "c": 0.1545,
    "h": 106.5
  },
  "luminance": 0.549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC83C

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

Preview Lab → · Contrast checker → · Palette generator →

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