#CBCA7F#CBCA7F

#CBCA7F is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.097 H 107.7°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CBCA7F
RGBrgb(203, 202, 127)
HSLhsl(59, 42%, 65%)
HSVhsv(59, 37%, 80%)
CMYKcmyk(0%, 0.5%, 37.4%, 20.4%)
CIE-LABlab(79.88, -10.79, 37.58)
CIE-LCHlch(79.88, 39.10, 106.01°)
OKLaboklab(82.28% -0.0293 0.092)
OKLCHoklch(82.28% 0.097 107.7)
XYZxyz(49.5805, 56.4709, 28.3627)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA7F #7F80CB
analogous
#CBA47F #CBCA7F #A6CB7F
triadic
#CBCA7F #7FCBCA #CA7FCB
tetradic
#CBCA7F #7FCBA4 #7F80CB #CB7FA6
square
#CBCA7F #7FCBA4 #7F80CB #CB7FA6
split-complementary
#CBCA7F #7FA6CB #A47FCB
monochromatic
#94923C #B9B853 #CBCA7F #DDDCAB #EEEED6

Accessibility & contrast

On white

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

On black

12.29
#CBCA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA7F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA7F#FFFFFF#000000##000000
##CBCA7F1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbca7f;
/* rgb */ color: rgb(203, 202, 127);
/* oklch */ color: oklch(82.3% 0.097 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcdaa5',
    500: '#cbca7f',
    950: '#000000',
  },
}
SCSS
$custom: #cbca7f;
$custom-light: #dcdaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca7f",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 127
  },
  "hsl": {
    "h": 59.211,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82278,
    "c": 0.09654,
    "h": 107.7
  },
  "luminance": 0.5647
}

Semantic roles & 50–950 ramp

primary
#CBCA7F
secondary
#54559A
accent
#32B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBCA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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