#CBCA6C#CBCA6C

#CBCA6C is a light, moderate yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.117 H 108.2°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#CBCA6C
RGBrgb(203, 202, 108)
HSLhsl(59, 48%, 61%)
HSVhsv(59, 47%, 80%)
CMYKcmyk(0%, 0.5%, 46.8%, 20.4%)
CIE-LABlab(79.63, -12.75, 46.73)
CIE-LCHlch(79.63, 48.44, 105.26°)
OKLaboklab(81.99% -0.0366 0.1114)
OKLCHoklch(81.99% 0.117 108.2)
XYZxyz(48.4569, 56.0214, 22.4451)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA6C #6C6DCB
analogous
#CB9A6C #CBCA6C #9CCB6C
triadic
#CBCA6C #6CCBCA #CA6CCB
tetradic
#CBCA6C #6CCB9A #6C6DCB #CB6C9C
square
#CBCA6C #6CCB9A #6C6DCB #CB6C9C
split-complementary
#CBCA6C #6C9CCB #9A6CCB
monochromatic
#8B8A31 #B9B741 #CBCA6C #DBDA99 #EBEBC6

Accessibility & contrast

On white

1.72
#CBCA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#CBCA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA6C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA6C#FFFFFF#000000##000000
##CBCA6C1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C364
Deuteranopia (green-blind)
#D9C771
Tritanopia (blue-blind)
#D7C0B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbca6c;
/* rgb */ color: rgb(203, 202, 108);
/* oklch */ color: oklch(82.0% 0.117 108.2);
Tailwind
colors: {
  custom: {
    50: '#ddda98',
    500: '#cbca6c',
    950: '#000000',
  },
}
SCSS
$custom: #cbca6c;
$custom-light: #ddda98;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca6c",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 108
  },
  "hsl": {
    "h": 59.368,
    "s": 47.739,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81992,
    "c": 0.1172,
    "h": 108.2
  },
  "luminance": 0.5602
}

Semantic roles & 50–950 ramp

primary
#CBCA6C
secondary
#494A92
accent
#2CBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBCA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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