#CBD45C#CBD45C

#CBD45C is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 83.9% C 0.144 H 113.0°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#CBD45C
RGBrgb(203, 212, 92)
HSLhsl(65, 58%, 60%)
HSVhsv(65, 57%, 83%)
CMYKcmyk(4.2%, 0%, 56.6%, 16.9%)
CIE-LABlab(82.14, -19.11, 57.11)
CIE-LCHlch(82.14, 60.22, 108.50°)
OKLaboklab(83.94% -0.0563 0.1323)
OKLCHoklch(83.94% 0.144 113)
XYZxyz(50.1050, 60.5571, 19.1724)
Luminance0.6056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD45C #655CD4
analogous
#D4A15C #CBD45C #8FD45C
triadic
#CBD45C #5CCBD4 #D45CCB
tetradic
#CBD45C #5CD4A1 #655CD4 #D45C8F
square
#CBD45C #5CD4A1 #655CD4 #D45C8F
split-complementary
#CBD45C #5C8FD4 #A15CD4
monochromatic
#889026 #B6C033 #CBD45C #DAE18C #EAEEBD

Accessibility & contrast

On white

1.60
#CBD45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#CBD45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD45C
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD45C#FFFFFF#000000##000000
##CBD45C1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4F
Deuteranopia (green-blind)
#E2CE63
Tritanopia (blue-blind)
#D7C9BA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cbd45c;
/* rgb */ color: rgb(203, 212, 92);
/* oklch */ color: oklch(83.9% 0.144 113.0);
Tailwind
colors: {
  custom: {
    50: '#dde18e',
    500: '#cbd45c',
    950: '#000000',
  },
}
SCSS
$custom: #cbd45c;
$custom-light: #dde18e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd45c",
  "rgb": {
    "r": 203,
    "g": 212,
    "b": 92
  },
  "hsl": {
    "h": 64.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83942,
    "c": 0.14377,
    "h": 113
  },
  "luminance": 0.60556
}

Semantic roles & 50–950 ramp

primary
#CBD45C
secondary
#453F95
accent
#46E152
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD45C

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

Preview Lab → · Contrast checker → · Palette generator →

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