#CFC450#CFC450

#CFC450 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.137 H 103.9°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CFC450
RGBrgb(207, 196, 80)
HSLhsl(55, 57%, 56%)
HSVhsv(55, 61%, 81%)
CMYKcmyk(0%, 5.3%, 61.4%, 18.8%)
CIE-LABlab(78.07, -10.29, 57.96)
CIE-LCHlch(78.07, 58.87, 100.07°)
OKLaboklab(80.74% -0.0328 0.1325)
OKLCHoklch(80.74% 0.137 103.9)
XYZxyz(46.9217, 53.3261, 15.4092)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC450 #505BCF
analogous
#CF8550 #CFC450 #9BCF50
triadic
#CFC450 #50CFC4 #C450CF
tetradic
#CFC450 #50CF85 #505BCF #CF509B
square
#CFC450 #50CF85 #505BCF #CF509B
split-complementary
#CFC450 #509BCF #8550CF
monochromatic
#817923 #B1A631 #CFC450 #DCD480 #E9E4B0

Accessibility & contrast

On white

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

On black

11.66
#CFC450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC450
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC450#FFFFFF#000000##000000
##CFC4501.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE43
Deuteranopia (green-blind)
#D8C456
Tritanopia (blue-blind)
#DDB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc450;
/* rgb */ color: rgb(207, 196, 80);
/* oklch */ color: oklch(80.7% 0.137 103.9);
Tailwind
colors: {
  custom: {
    50: '#e1d586',
    500: '#cfc450',
    950: '#000000',
  },
}
SCSS
$custom: #cfc450;
$custom-light: #e1d586;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc450",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 80
  },
  "hsl": {
    "h": 54.803,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80738,
    "c": 0.13651,
    "h": 103.9
  },
  "luminance": 0.53324
}

Semantic roles & 50–950 ramp

primary
#CFC450
secondary
#3B4189
accent
#55E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC450

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

Preview Lab → · Contrast checker → · Palette generator →

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