#CFC48C#CFC48C

#CFC48C is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.6% C 0.075 H 98.4°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CFC48C
RGBrgb(207, 196, 140)
HSLhsl(50, 41%, 68%)
HSVhsv(50, 32%, 81%)
CMYKcmyk(0%, 5.3%, 32.4%, 18.8%)
CIE-LABlab(78.83, -4.58, 29.56)
CIE-LCHlch(78.83, 29.91, 98.81°)
OKLaboklab(81.59% -0.0108 0.0738)
OKLCHoklch(81.59% 0.075 98.4)
XYZxyz(50.2062, 54.6400, 32.7077)
Luminance0.5464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC48C #8C97CF
analogous
#CFA28C #CFC48C #B8CF8C
triadic
#CFC48C #8CCFC4 #C48CCF
tetradic
#CFC48C #8CCFA2 #8C97CF #CF8CB8
square
#CFC48C #8CCFA2 #8C97CF #CF8CB8
split-complementary
#CFC48C #8CB8CF #A28CCF
monochromatic
#9E8F42 #BDAE61 #CFC48C #E1DAB7 #F3F0E2

Accessibility & contrast

On white

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

On black

11.93
#CFC48C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC48C
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC48C#FFFFFF#000000##000000
##CFC48C1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc48c;
/* rgb */ color: rgb(207, 196, 140);
/* oklch */ color: oklch(81.6% 0.075 98.4);
Tailwind
colors: {
  custom: {
    50: '#ded5ae',
    500: '#cfc48c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc48c;
$custom-light: #ded5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc48c",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 140
  },
  "hsl": {
    "h": 50.149,
    "s": 41.104,
    "l": 68.039
  },
  "oklch": {
    "l": 0.81594,
    "c": 0.07455,
    "h": 98.4
  },
  "luminance": 0.54639
}

Semantic roles & 50–950 ramp

primary
#CFC48C
secondary
#5B67A4
accent
#47B431
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC48C

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

Preview Lab → · Contrast checker → · Palette generator →

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