#CBCA7D#CBCA7D

#CBCA7D is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.099 H 107.7°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CBCA7D
RGBrgb(203, 202, 125)
HSLhsl(59, 43%, 64%)
HSVhsv(59, 38%, 80%)
CMYKcmyk(0%, 0.5%, 38.4%, 20.4%)
CIE-LABlab(79.85, -11.01, 38.56)
CIE-LCHlch(79.85, 40.10, 105.93°)
OKLaboklab(82.25% -0.0301 0.0941)
OKLCHoklch(82.25% 0.099 107.7)
XYZxyz(49.4515, 56.4193, 27.6830)
Luminance0.5642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA7D #7D7ECB
analogous
#CBA37D #CBCA7D #A5CB7D
triadic
#CBCA7D #7DCBCA #CA7DCB
tetradic
#CBCA7D #7DCBA3 #7D7ECB #CB7DA5
square
#CBCA7D #7DCBA3 #7D7ECB #CB7DA5
split-complementary
#CBCA7D #7DA5CB #A37DCB
monochromatic
#93923B #BAB851 #CBCA7D #DCDCA9 #EEEED4

Accessibility & contrast

On white

1.71
#CBCA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#CBCA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA7D
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA7D#FFFFFF#000000##000000
##CBCA7D1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C477
Deuteranopia (green-blind)
#D7C780
Tritanopia (blue-blind)
#D5C1B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbca7d;
/* rgb */ color: rgb(203, 202, 125);
/* oklch */ color: oklch(82.2% 0.099 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcdaa3',
    500: '#cbca7d',
    950: '#000000',
  },
}
SCSS
$custom: #cbca7d;
$custom-light: #dcdaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca7d",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 125
  },
  "hsl": {
    "h": 59.231,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82245,
    "c": 0.09882,
    "h": 107.7
  },
  "luminance": 0.56418
}

Semantic roles & 50–950 ramp

primary
#CBCA7D
secondary
#53549A
accent
#31B630
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CBCA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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