#CFC488#CFC488

#CFC488 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.5% C 0.079 H 99.0°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CFC488
RGBrgb(207, 196, 136)
HSLhsl(51, 43%, 67%)
HSVhsv(51, 34%, 81%)
CMYKcmyk(0%, 5.3%, 34.3%, 18.8%)
CIE-LABlab(78.77, -5.07, 31.56)
CIE-LCHlch(78.77, 31.97, 99.13°)
OKLaboklab(81.52% -0.0125 0.0784)
OKLCHoklch(81.52% 0.079 99)
XYZxyz(49.9166, 54.5241, 31.1825)
Luminance0.5452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC488 #8893CF
analogous
#CFA188 #CFC488 #B7CF88
triadic
#CFC488 #88CFC4 #C488CF
tetradic
#CFC488 #88CFA1 #8893CF #CF88B7
square
#CFC488 #88CFA1 #8893CF #CF88B7
split-complementary
#CFC488 #88B7CF #A188CF
monochromatic
#9D8F3F #BDAE5C #CFC488 #E1DAB4 #F2EFDF

Accessibility & contrast

On white

1.76
#CFC488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CFC488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC488
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC488#FFFFFF#000000##000000
##CFC4881.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC084
Deuteranopia (green-blind)
#D3C58A
Tritanopia (blue-blind)
#D9BCB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc488;
/* rgb */ color: rgb(207, 196, 136);
/* oklch */ color: oklch(81.5% 0.079 99.0);
Tailwind
colors: {
  custom: {
    50: '#ded5ab',
    500: '#cfc488',
    950: '#000000',
  },
}
SCSS
$custom: #cfc488;
$custom-light: #ded5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc488",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 136
  },
  "hsl": {
    "h": 50.704,
    "s": 42.515,
    "l": 67.255
  },
  "oklch": {
    "l": 0.81519,
    "c": 0.07934,
    "h": 99
  },
  "luminance": 0.54523
}

Semantic roles & 50–950 ramp

primary
#CFC488
secondary
#5864A3
accent
#45B630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC488

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

Preview Lab → · Contrast checker → · Palette generator →

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