#CFCD3B#CFCD3B

#CFCD3B is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.160 H 108.7°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CFCD3B
RGBrgb(207, 205, 59)
HSLhsl(59, 61%, 52%)
HSVhsv(59, 71%, 81%)
CMYKcmyk(0%, 1%, 71.5%, 18.8%)
CIE-LABlab(80.32, -16.01, 68.50)
CIE-LCHlch(80.32, 70.35, 103.16°)
OKLaboklab(82.48% -0.0511 0.1514)
OKLCHoklch(82.48% 0.16 108.7)
XYZxyz(48.3547, 57.2453, 12.6391)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD3B #3B3DCF
analogous
#CF833B #CFCD3B #87CF3B
triadic
#CFCD3B #3BCFCD #CD3BCF
tetradic
#CFCD3B #3BCF83 #3B3DCF #CF3B87
square
#CFCD3B #3BCF83 #3B3DCF #CF3B87
split-complementary
#CFCD3B #3B87CF #833BCF
monochromatic
#73721C #A5A328 #CFCD3B #DBDA6C #E7E69D

Accessibility & contrast

On white

1.69
#CFCD3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#CFCD3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD3B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD3B#FFFFFF#000000##000000
##CFCD3B1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC520
Deuteranopia (green-blind)
#E0CA46
Tritanopia (blue-blind)
#DEC0B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcd3b;
/* rgb */ color: rgb(207, 205, 59);
/* oklch */ color: oklch(82.5% 0.160 108.7);
Tailwind
colors: {
  custom: {
    50: '#e1dc7b',
    500: '#cfcd3b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd3b;
$custom-light: #e1dc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd3b",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 59
  },
  "hsl": {
    "h": 59.189,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82482,
    "c": 0.15983,
    "h": 108.7
  },
  "luminance": 0.57244
}

Semantic roles & 50–950 ramp

primary
#CFCD3B
secondary
#32337C
accent
#46E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFCD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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