#CBC45A#CBC45A

#CBC45A is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.128 H 105.5°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CBC45A
RGBrgb(203, 196, 90)
HSLhsl(56, 52%, 57%)
HSVhsv(56, 56%, 80%)
CMYKcmyk(0%, 3.4%, 55.7%, 20.4%)
CIE-LABlab(77.83, -11.24, 53.13)
CIE-LCHlch(77.83, 54.31, 101.95°)
OKLaboklab(80.5% -0.0341 0.1236)
OKLCHoklch(80.5% 0.128 105.5)
XYZxyz(46.2154, 52.9160, 17.4502)
Luminance0.5292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC45A #5A61CB
analogous
#CB8B5A #CBC45A #9ACB5A
triadic
#CBC45A #5ACBC4 #C45ACB
tetradic
#CBC45A #5ACB8B #5A61CB #CB5A9A
square
#CBC45A #5ACB8B #5A61CB #CB5A9A
split-complementary
#CBC45A #5A9ACB #8B5ACB
monochromatic
#827C29 #B0A938 #CBC45A #DAD589 #E8E5B7

Accessibility & contrast

On white

1.81
#CBC45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#CBC45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC45A
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC45A#FFFFFF#000000##000000
##CBC45A1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4F
Deuteranopia (green-blind)
#D6C360
Tritanopia (blue-blind)
#D8B8AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc45a;
/* rgb */ color: rgb(203, 196, 90);
/* oklch */ color: oklch(80.5% 0.128 105.5);
Tailwind
colors: {
  custom: {
    50: '#ddd58c',
    500: '#cbc45a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc45a;
$custom-light: #ddd58c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc45a",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 56.283,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80495,
    "c": 0.12818,
    "h": 105.5
  },
  "luminance": 0.52915
}

Semantic roles & 50–950 ramp

primary
#CBC45A
secondary
#404489
accent
#55DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC45A

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

Preview Lab → · Contrast checker → · Palette generator →

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