#CBC56A#CBC56A

#CBC56A is a light, moderate yellow. Relative luminance 0.537; OKLCH L 80.9% C 0.114 H 105.3°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CBC56A
RGBrgb(203, 197, 106)
HSLhsl(56, 48%, 61%)
HSVhsv(56, 48%, 80%)
CMYKcmyk(0%, 3%, 47.8%, 20.4%)
CIE-LABlab(78.27, -10.39, 46.06)
CIE-LCHlch(78.27, 47.22, 102.72°)
OKLaboklab(80.91% -0.03 0.1097)
OKLCHoklch(80.91% 0.114 105.3)
XYZxyz(47.1975, 53.6709, 21.5062)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC56A #6A70CB
analogous
#CB946A #CBC56A #A0CB6A
triadic
#CBC56A #6ACBC5 #C56ACB
tetradic
#CBC56A #6ACB94 #6A70CB #CB6AA0
square
#CBC56A #6ACB94 #6A70CB #CB6AA0
split-complementary
#CBC56A #6AA0CB #946ACB
monochromatic
#8A8530 #B8B040 #CBC56A #DBD797 #EBE8C5

Accessibility & contrast

On white

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

On black

11.73
#CBC56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC56A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC56A#FFFFFF#000000##000000
##CBC56A1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF62
Deuteranopia (green-blind)
#D5C46E
Tritanopia (blue-blind)
#D7BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc56a;
/* rgb */ color: rgb(203, 197, 106);
/* oklch */ color: oklch(80.9% 0.114 105.3);
Tailwind
colors: {
  custom: {
    50: '#ddd696',
    500: '#cbc56a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc56a;
$custom-light: #ddd696;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc56a",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 106
  },
  "hsl": {
    "h": 56.289,
    "s": 48.259,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80906,
    "c": 0.11376,
    "h": 105.3
  },
  "luminance": 0.5367
}

Semantic roles & 50–950 ramp

primary
#CBC56A
secondary
#484C91
accent
#33BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC56A

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

Preview Lab → · Contrast checker → · Palette generator →

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