#CFC459#CFC459

#CFC459 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.129 H 103.5°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CFC459
RGBrgb(207, 196, 89)
HSLhsl(54, 55%, 58%)
HSVhsv(54, 57%, 81%)
CMYKcmyk(0%, 5.3%, 57%, 18.8%)
CIE-LABlab(78.15, -9.66, 54.05)
CIE-LCHlch(78.15, 54.90, 100.13°)
OKLaboklab(80.83% -0.03 0.1253)
OKLCHoklch(80.83% 0.129 103.5)
XYZxyz(47.2768, 53.4682, 17.2793)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC459 #5964CF
analogous
#CF8959 #CFC459 #9FCF59
triadic
#CFC459 #59CFC4 #C459CF
tetradic
#CFC459 #59CF89 #5964CF #CF599F
square
#CFC459 #59CF89 #5964CF #CF599F
split-complementary
#CFC459 #599FCF #8959CF
monochromatic
#877E27 #B6AA35 #CFC459 #DDD588 #EAE6B8

Accessibility & contrast

On white

1.80
#CFC459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CFC459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC459
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC459#FFFFFF#000000##000000
##CFC4591.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4E
Deuteranopia (green-blind)
#D7C45E
Tritanopia (blue-blind)
#DDB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc459;
/* rgb */ color: rgb(207, 196, 89);
/* oklch */ color: oklch(80.8% 0.129 103.5);
Tailwind
colors: {
  custom: {
    50: '#e0d58b',
    500: '#cfc459',
    950: '#000000',
  },
}
SCSS
$custom: #cfc459;
$custom-light: #e0d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc459",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 54.407,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80831,
    "c": 0.12886,
    "h": 103.5
  },
  "luminance": 0.53467
}

Semantic roles & 50–950 ramp

primary
#CFC459
secondary
#3F468E
accent
#57DE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC459

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

Preview Lab → · Contrast checker → · Palette generator →

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