#CBC47F#CBC47F

#CBC47F is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.090 H 103.2°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CBC47F
RGBrgb(203, 196, 127)
HSLhsl(54, 42%, 65%)
HSVhsv(54, 37%, 80%)
CMYKcmyk(0%, 3.4%, 37.4%, 20.4%)
CIE-LABlab(78.29, -7.71, 35.54)
CIE-LCHlch(78.29, 36.36, 102.24°)
OKLaboklab(81.02% -0.0205 0.0873)
OKLCHoklch(81.02% 0.09 103.2)
XYZxyz(48.2000, 53.7099, 27.9025)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC47F #7F86CB
analogous
#CB9E7F #CBC47F #ACCB7F
triadic
#CBC47F #7FCBC4 #C47FCB
tetradic
#CBC47F #7FCB9E #7F86CB #CB7FAC
square
#CBC47F #7FCB9E #7F86CB #CB7FAC
split-complementary
#CBC47F #7FACCB #9E7FCB
monochromatic
#948C3C #B9B053 #CBC47F #DDD8AB #EEECD6

Accessibility & contrast

On white

1.79
#CBC47F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CBC47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC47F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC47F#FFFFFF#000000##000000
##CBC47F1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BF7A
Deuteranopia (green-blind)
#D2C382
Tritanopia (blue-blind)
#D6BBB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc47f;
/* rgb */ color: rgb(203, 196, 127);
/* oklch */ color: oklch(81.0% 0.090 103.2);
Tailwind
colors: {
  custom: {
    50: '#dcd5a5',
    500: '#cbc47f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc47f;
$custom-light: #dcd5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc47f",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 127
  },
  "hsl": {
    "h": 54.474,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.81017,
    "c": 0.08965,
    "h": 103.2
  },
  "luminance": 0.53709
}

Semantic roles & 50–950 ramp

primary
#CBC47F
secondary
#545A9A
accent
#3CB530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC47F

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

Preview Lab → · Contrast checker → · Palette generator →

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