#CFC457#CFC457

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

Color values

HEX#CFC457
RGBrgb(207, 196, 87)
HSLhsl(55, 56%, 58%)
HSVhsv(55, 58%, 81%)
CMYKcmyk(0%, 5.3%, 58%, 18.8%)
CIE-LABlab(78.13, -9.81, 54.93)
CIE-LCHlch(78.13, 55.80, 100.12°)
OKLaboklab(80.81% -0.0306 0.127)
OKLCHoklch(80.81% 0.131 103.6)
XYZxyz(47.1940, 53.4350, 16.8430)
Luminance0.5343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC457 #5762CF
analogous
#CF8857 #CFC457 #9ECF57
triadic
#CFC457 #57CFC4 #C457CF
tetradic
#CFC457 #57CF88 #5762CF #CF579E
square
#CFC457 #57CF88 #5762CF #CF579E
split-complementary
#CFC457 #579ECF #8857CF
monochromatic
#857D26 #B5A934 #CFC457 #DDD587 #EAE5B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC457#FFFFFF#000000##000000
##CFC4571.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)
#D4BE4B
Deuteranopia (green-blind)
#D7C45D
Tritanopia (blue-blind)
#DDB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc457;
/* rgb */ color: rgb(207, 196, 87);
/* oklch */ color: oklch(80.8% 0.131 103.6);
Tailwind
colors: {
  custom: {
    50: '#e0d58a',
    500: '#cfc457',
    950: '#000000',
  },
}
SCSS
$custom: #cfc457;
$custom-light: #e0d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc457",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 54.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8081,
    "c": 0.13062,
    "h": 103.6
  },
  "luminance": 0.53433
}

Semantic roles & 50–950 ramp

primary
#CFC457
secondary
#3E458C
accent
#57DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC457

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

Preview Lab → · Contrast checker → · Palette generator →

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