#CFC490#CFC490

#CFC490 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.7% C 0.070 H 97.6°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CFC490
RGBrgb(207, 196, 144)
HSLhsl(50, 40%, 69%)
HSVhsv(50, 30%, 81%)
CMYKcmyk(0%, 5.3%, 30.4%, 18.8%)
CIE-LABlab(78.90, -4.08, 27.56)
CIE-LCHlch(78.90, 27.86, 98.42°)
OKLaboklab(81.67% -0.0092 0.0691)
OKLCHoklch(81.67% 0.07 97.6)
XYZxyz(50.5066, 54.7601, 34.2893)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC490 #909BCF
analogous
#CFA590 #CFC490 #BBCF90
triadic
#CFC490 #90CFC4 #C490CF
tetradic
#CFC490 #90CFA5 #909BCF #CF90BB
square
#CFC490 #90CFA5 #909BCF #CF90BB
split-complementary
#CFC490 #90BBCF #A590CF
monochromatic
#A09045 #BDAD65 #CFC490 #E1DBBB #F4F1E5

Accessibility & contrast

On white

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

On black

11.95
#CFC490 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC490
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC490#FFFFFF#000000##000000
##CFC4901.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC18D
Deuteranopia (green-blind)
#D1C592
Tritanopia (blue-blind)
#D9BDB6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc490;
/* rgb */ color: rgb(207, 196, 144);
/* oklch */ color: oklch(81.7% 0.070 97.6);
Tailwind
colors: {
  custom: {
    50: '#ded5b1',
    500: '#cfc490',
    950: '#000000',
  },
}
SCSS
$custom: #cfc490;
$custom-light: #ded5b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc490",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 144
  },
  "hsl": {
    "h": 49.524,
    "s": 39.623,
    "l": 68.824
  },
  "oklch": {
    "l": 0.81672,
    "c": 0.06971,
    "h": 97.6
  },
  "luminance": 0.54759
}

Semantic roles & 50–950 ramp

primary
#CFC490
secondary
#5F6BA4
accent
#49B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC490

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

Preview Lab → · Contrast checker → · Palette generator →

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