#CFC487#CFC487

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

Color values

HEX#CFC487
RGBrgb(207, 196, 135)
HSLhsl(51, 43%, 67%)
HSVhsv(51, 35%, 81%)
CMYKcmyk(0%, 5.3%, 34.8%, 18.8%)
CIE-LABlab(78.75, -5.19, 32.06)
CIE-LCHlch(78.75, 32.48, 99.20°)
OKLaboklab(81.5% -0.0129 0.0795)
OKLCHoklch(81.5% 0.081 99.2)
XYZxyz(49.8459, 54.4958, 30.8100)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC487 #8792CF
analogous
#CFA087 #CFC487 #B6CF87
triadic
#CFC487 #87CFC4 #C487CF
tetradic
#CFC487 #87CFA0 #8792CF #CF87B6
square
#CFC487 #87CFA0 #8792CF #CF87B6
split-complementary
#CFC487 #87B6CF #A087CF
monochromatic
#9D8E3F #BEAF5B #CFC487 #E0D9B3 #F2EFDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC487#FFFFFF#000000##000000
##CFC4871.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)
#CFC083
Deuteranopia (green-blind)
#D3C589
Tritanopia (blue-blind)
#DABCB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc487;
/* rgb */ color: rgb(207, 196, 135);
/* oklch */ color: oklch(81.5% 0.081 99.2);
Tailwind
colors: {
  custom: {
    50: '#ded5aa',
    500: '#cfc487',
    950: '#000000',
  },
}
SCSS
$custom: #cfc487;
$custom-light: #ded5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc487",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 135
  },
  "hsl": {
    "h": 50.833,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.81501,
    "c": 0.08053,
    "h": 99.2
  },
  "luminance": 0.54495
}

Semantic roles & 50–950 ramp

primary
#CFC487
secondary
#5863A3
accent
#44B630
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC487

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

Preview Lab → · Contrast checker → · Palette generator →

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