#CFC48B#CFC48B

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

Color values

HEX#CFC48B
RGBrgb(207, 196, 139)
HSLhsl(50, 41%, 68%)
HSVhsv(50, 33%, 81%)
CMYKcmyk(0%, 5.3%, 32.9%, 18.8%)
CIE-LABlab(78.82, -4.71, 30.06)
CIE-LCHlch(78.82, 30.43, 98.90°)
OKLaboklab(81.58% -0.0113 0.0749)
OKLCHoklch(81.58% 0.076 98.5)
XYZxyz(50.1328, 54.6106, 32.3211)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC48B #8B96CF
analogous
#CFA28B #CFC48B #B8CF8B
triadic
#CFC48B #8BCFC4 #C48BCF
tetradic
#CFC48B #8BCFA2 #8B96CF #CF8BB8
square
#CFC48B #8BCFA2 #8B96CF #CF8BB8
split-complementary
#CFC48B #8BB8CF #A28BCF
monochromatic
#9E8F41 #BDAE60 #CFC48B #E1DAB6 #F3F0E2

Accessibility & contrast

On white

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

On black

11.92
#CFC48B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC48B
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC48B#FFFFFF#000000##000000
##CFC48B1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc48b;
/* rgb */ color: rgb(207, 196, 139);
/* oklch */ color: oklch(81.6% 0.076 98.5);
Tailwind
colors: {
  custom: {
    50: '#ded5ad',
    500: '#cfc48b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc48b;
$custom-light: #ded5ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc48b",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 139
  },
  "hsl": {
    "h": 50.294,
    "s": 41.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.81575,
    "c": 0.07576,
    "h": 98.5
  },
  "luminance": 0.54609
}

Semantic roles & 50–950 ramp

primary
#CFC48B
secondary
#5A66A4
accent
#46B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC48B

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

Preview Lab → · Contrast checker → · Palette generator →

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