#CFC48E#CFC48E

#CFC48E is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.6% C 0.072 H 98.0°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CFC48E
RGBrgb(207, 196, 142)
HSLhsl(50, 40%, 68%)
HSVhsv(50, 31%, 81%)
CMYKcmyk(0%, 5.3%, 31.4%, 18.8%)
CIE-LABlab(78.87, -4.33, 28.56)
CIE-LCHlch(78.87, 28.89, 98.63°)
OKLaboklab(81.63% -0.01 0.0714)
OKLCHoklch(81.63% 0.072 98)
XYZxyz(50.3550, 54.6995, 33.4914)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC48E #8E99CF
analogous
#CFA38E #CFC48E #B9CF8E
triadic
#CFC48E #8ECFC4 #C48ECF
tetradic
#CFC48E #8ECFA3 #8E99CF #CF8EB9
square
#CFC48E #8ECFA3 #8E99CF #CF8EB9
split-complementary
#CFC48E #8EB9CF #A38ECF
monochromatic
#9F9044 #BDAE63 #CFC48E #E1DAB9 #F3F1E4

Accessibility & contrast

On white

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

On black

11.94
#CFC48E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC48E
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC48E#FFFFFF#000000##000000
##CFC48E1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC18A
Deuteranopia (green-blind)
#D2C590
Tritanopia (blue-blind)
#D9BCB6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc48e;
/* rgb */ color: rgb(207, 196, 142);
/* oklch */ color: oklch(81.6% 0.072 98.0);
Tailwind
colors: {
  custom: {
    50: '#ded5af',
    500: '#cfc48e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc48e;
$custom-light: #ded5af;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc48e",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 142
  },
  "hsl": {
    "h": 49.846,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.81633,
    "c": 0.07214,
    "h": 98
  },
  "luminance": 0.54698
}

Semantic roles & 50–950 ramp

primary
#CFC48E
secondary
#5D69A4
accent
#48B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CFC48E

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

Preview Lab → · Contrast checker → · Palette generator →

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