#CFC458#CFC458

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

Color values

HEX#CFC458
RGBrgb(207, 196, 88)
HSLhsl(54, 55%, 58%)
HSVhsv(54, 57%, 81%)
CMYKcmyk(0%, 5.3%, 57.5%, 18.8%)
CIE-LABlab(78.14, -9.73, 54.49)
CIE-LCHlch(78.14, 55.35, 100.13°)
OKLaboklab(80.82% -0.0303 0.1262)
OKLCHoklch(80.82% 0.13 103.5)
XYZxyz(47.2351, 53.4515, 17.0597)
Luminance0.5345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC458 #5863CF
analogous
#CF8958 #CFC458 #9ECF58
triadic
#CFC458 #58CFC4 #C458CF
tetradic
#CFC458 #58CF89 #5863CF #CF589E
square
#CFC458 #58CF89 #5863CF #CF589E
split-complementary
#CFC458 #589ECF #8958CF
monochromatic
#867D27 #B6AA34 #CFC458 #DDD588 #EAE6B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC458#FFFFFF#000000##000000
##CFC4581.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)
#D4BE4D
Deuteranopia (green-blind)
#D7C45E
Tritanopia (blue-blind)
#DDB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc458;
/* rgb */ color: rgb(207, 196, 88);
/* oklch */ color: oklch(80.8% 0.130 103.5);
Tailwind
colors: {
  custom: {
    50: '#e0d58b',
    500: '#cfc458',
    950: '#000000',
  },
}
SCSS
$custom: #cfc458;
$custom-light: #e0d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc458",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 54.454,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8082,
    "c": 0.12974,
    "h": 103.5
  },
  "luminance": 0.5345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC458

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

Preview Lab → · Contrast checker → · Palette generator →

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