#CFCA3C#CFCA3C

#CFCA3C is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.8% C 0.156 H 107.4°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CFCA3C
RGBrgb(207, 202, 60)
HSLhsl(58, 60%, 52%)
HSVhsv(58, 71%, 81%)
CMYKcmyk(0%, 2.4%, 71%, 18.8%)
CIE-LABlab(79.52, -14.46, 67.38)
CIE-LCHlch(79.52, 68.92, 102.11°)
OKLaboklab(81.85% -0.0467 0.1492)
OKLCHoklch(81.85% 0.156 107.4)
XYZxyz(47.6701, 55.8343, 12.5401)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA3C #3C41CF
analogous
#CF803C #CFCA3C #8BCF3C
triadic
#CFCA3C #3CCFCA #CA3CCF
tetradic
#CFCA3C #3CCF80 #3C41CF #CF3C8B
square
#CFCA3C #3CCF80 #3C41CF #CF3C8B
split-complementary
#CFCA3C #3C8BCF #803CCF
monochromatic
#74711D #A5A129 #CFCA3C #DBD76D #E7E59E

Accessibility & contrast

On white

1.73
#CFCA3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CFCA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA3C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA3C#FFFFFF#000000##000000
##CFCA3C1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC223
Deuteranopia (green-blind)
#DEC746
Tritanopia (blue-blind)
#DEBDAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca3c;
/* rgb */ color: rgb(207, 202, 60);
/* oklch */ color: oklch(81.8% 0.156 107.4);
Tailwind
colors: {
  custom: {
    50: '#e1d97b',
    500: '#cfca3c',
    950: '#000000',
  },
}
SCSS
$custom: #cfca3c;
$custom-light: #e1d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca3c",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 60
  },
  "hsl": {
    "h": 57.959,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81848,
    "c": 0.15636,
    "h": 107.4
  },
  "luminance": 0.55833
}

Semantic roles & 50–950 ramp

primary
#CFCA3C
secondary
#33357D
accent
#4AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFCA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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