#CFCA3D#CFCA3D

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

Color values

HEX#CFCA3D
RGBrgb(207, 202, 61)
HSLhsl(58, 60%, 53%)
HSVhsv(58, 71%, 81%)
CMYKcmyk(0%, 2.4%, 70.5%, 18.8%)
CIE-LABlab(79.53, -14.42, 67.03)
CIE-LCHlch(79.53, 68.56, 102.14°)
OKLaboklab(81.85% -0.0464 0.1487)
OKLCHoklch(81.85% 0.156 107.4)
XYZxyz(47.6968, 55.8450, 12.6807)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA3D #3D42CF
analogous
#CF813D #CFCA3D #8BCF3D
triadic
#CFCA3D #3DCFCA #CA3DCF
tetradic
#CFCA3D #3DCF81 #3D42CF #CF3D8B
square
#CFCA3D #3DCF81 #3D42CF #CF3D8B
split-complementary
#CFCA3D #3D8BCF #813DCF
monochromatic
#75721D #A6A229 #CFCA3D #DBD76E #E7E59F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCA3D#FFFFFF#000000##000000
##CFCA3D1.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)
#DBC225
Deuteranopia (green-blind)
#DEC747
Tritanopia (blue-blind)
#DEBDAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca3d;
/* rgb */ color: rgb(207, 202, 61);
/* oklch */ color: oklch(81.9% 0.156 107.4);
Tailwind
colors: {
  custom: {
    50: '#e1d97c',
    500: '#cfca3d',
    950: '#000000',
  },
}
SCSS
$custom: #cfca3d;
$custom-light: #e1d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca3d",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 61
  },
  "hsl": {
    "h": 57.945,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81854,
    "c": 0.15576,
    "h": 107.4
  },
  "luminance": 0.55843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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