#CBCA5F#CBCA5F

#CBCA5F is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.8% C 0.130 H 108.5°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CBCA5F
RGBrgb(203, 202, 95)
HSLhsl(59, 51%, 58%)
HSVhsv(59, 53%, 80%)
CMYKcmyk(0%, 0.5%, 53.2%, 20.4%)
CIE-LABlab(79.48, -13.89, 52.72)
CIE-LCHlch(79.48, 54.52, 104.76°)
OKLaboklab(81.83% -0.0411 0.1232)
OKLCHoklch(81.83% 0.13 108.5)
XYZxyz(47.8159, 55.7650, 19.0692)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA5F #5F60CB
analogous
#CB945F #CBCA5F #96CB5F
triadic
#CBCA5F #5FCBCA #CA5FCB
tetradic
#CBCA5F #5FCB94 #5F60CB #CB5F96
square
#CBCA5F #5FCB94 #5F60CB #CB5F96
split-complementary
#CBCA5F #5F96CB #945FCB
monochromatic
#85842B #B3B23A #CBCA5F #DAD98D #E9E9BB

Accessibility & contrast

On white

1.73
#CBCA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#CBCA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA5F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA5F#FFFFFF#000000##000000
##CBCA5F1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C354
Deuteranopia (green-blind)
#DAC765
Tritanopia (blue-blind)
#D8BFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbca5f;
/* rgb */ color: rgb(203, 202, 95);
/* oklch */ color: oklch(81.8% 0.130 108.5);
Tailwind
colors: {
  custom: {
    50: '#ddda90',
    500: '#cbca5f',
    950: '#000000',
  },
}
SCSS
$custom: #cbca5f;
$custom-light: #ddda90;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca5f",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 59.444,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81829,
    "c": 0.12991,
    "h": 108.5
  },
  "luminance": 0.55764
}

Semantic roles & 50–950 ramp

primary
#CBCA5F
secondary
#42438C
accent
#4FDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBCA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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