#CFC451#CFC451

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

Color values

HEX#CFC451
RGBrgb(207, 196, 81)
HSLhsl(55, 57%, 56%)
HSVhsv(55, 61%, 81%)
CMYKcmyk(0%, 5.3%, 60.9%, 18.8%)
CIE-LABlab(78.08, -10.23, 57.53)
CIE-LCHlch(78.08, 58.44, 100.08°)
OKLaboklab(80.75% -0.0325 0.1317)
OKLCHoklch(80.75% 0.136 103.9)
XYZxyz(46.9589, 53.3410, 15.6053)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC451 #515CCF
analogous
#CF8551 #CFC451 #9BCF51
triadic
#CFC451 #51CFC4 #C451CF
tetradic
#CFC451 #51CF85 #515CCF #CF519B
square
#CFC451 #51CF85 #515CCF #CF519B
split-complementary
#CFC451 #519BCF #8551CF
monochromatic
#827A24 #B2A731 #CFC451 #DCD481 #E9E5B1

Accessibility & contrast

On white

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

On black

11.67
#CFC451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC451
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC451#FFFFFF#000000##000000
##CFC4511.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc451;
/* rgb */ color: rgb(207, 196, 81);
/* oklch */ color: oklch(80.7% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#e1d586',
    500: '#cfc451',
    950: '#000000',
  },
}
SCSS
$custom: #cfc451;
$custom-light: #e1d586;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc451",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 54.762,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80748,
    "c": 0.13569,
    "h": 103.9
  },
  "luminance": 0.53339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC451

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

Preview Lab → · Contrast checker → · Palette generator →

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