#CFC455#CFC455

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

Color values

HEX#CFC455
RGBrgb(207, 196, 85)
HSLhsl(55, 56%, 57%)
HSVhsv(55, 59%, 81%)
CMYKcmyk(0%, 5.3%, 58.9%, 18.8%)
CIE-LABlab(78.11, -9.95, 55.81)
CIE-LCHlch(78.11, 56.69, 100.11°)
OKLaboklab(80.79% -0.0313 0.1286)
OKLCHoklch(80.79% 0.132 103.7)
XYZxyz(47.1134, 53.4028, 16.4186)
Luminance0.5340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC455 #5560CF
analogous
#CF8755 #CFC455 #9DCF55
triadic
#CFC455 #55CFC4 #C455CF
tetradic
#CFC455 #55CF87 #5560CF #CF559D
square
#CFC455 #55CF87 #5560CF #CF559D
split-complementary
#CFC455 #559DCF #8755CF
monochromatic
#847C25 #B4A833 #CFC455 #DCD585 #EAE5B4

Accessibility & contrast

On white

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

On black

11.68
#CFC455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC455
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC455#FFFFFF#000000##000000
##CFC4551.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc455;
/* rgb */ color: rgb(207, 196, 85);
/* oklch */ color: oklch(80.8% 0.132 103.7);
Tailwind
colors: {
  custom: {
    50: '#e0d589',
    500: '#cfc455',
    950: '#000000',
  },
}
SCSS
$custom: #cfc455;
$custom-light: #e0d589;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc455",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 85
  },
  "hsl": {
    "h": 54.59,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80788,
    "c": 0.13234,
    "h": 103.7
  },
  "luminance": 0.53401
}

Semantic roles & 50–950 ramp

primary
#CFC455
secondary
#3D448B
accent
#56DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC455

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

Preview Lab → · Contrast checker → · Palette generator →

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