#CFC259#CFC259

#CFC259 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.127 H 102.3°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CFC259
RGBrgb(207, 194, 89)
HSLhsl(53, 55%, 58%)
HSVhsv(53, 57%, 81%)
CMYKcmyk(0%, 6.3%, 57%, 18.8%)
CIE-LABlab(77.62, -8.63, 53.45)
CIE-LCHlch(77.62, 54.14, 99.18°)
OKLaboklab(80.41% -0.027 0.124)
OKLCHoklch(80.41% 0.127 102.3)
XYZxyz(46.8287, 52.5720, 17.1299)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC259 #5966CF
analogous
#CF8759 #CFC259 #A1CF59
triadic
#CFC259 #59CFC2 #C259CF
tetradic
#CFC259 #59CF87 #5966CF #CF59A1
square
#CFC259 #59CF87 #5966CF #CF59A1
split-complementary
#CFC259 #59A1CF #8759CF
monochromatic
#877C27 #B6A835 #CFC259 #DDD388 #EAE5B8

Accessibility & contrast

On white

1.82
#CFC259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CFC259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC259
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC259#FFFFFF#000000##000000
##CFC2591.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC4E
Deuteranopia (green-blind)
#D6C25E
Tritanopia (blue-blind)
#DDB6AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc259;
/* rgb */ color: rgb(207, 194, 89);
/* oklch */ color: oklch(80.4% 0.127 102.3);
Tailwind
colors: {
  custom: {
    50: '#e0d48b',
    500: '#cfc259',
    950: '#000000',
  },
}
SCSS
$custom: #cfc259;
$custom-light: #e0d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc259",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 89
  },
  "hsl": {
    "h": 53.39,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80411,
    "c": 0.12696,
    "h": 102.3
  },
  "luminance": 0.5257
}

Semantic roles & 50–950 ramp

primary
#CFC259
secondary
#3F478E
accent
#5ADE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC259

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

Preview Lab → · Contrast checker → · Palette generator →

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