#CBD54B#CBD54B

#CBD54B is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.0% C 0.158 H 113.3°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#CBD54B
RGBrgb(203, 213, 75)
HSLhsl(64, 62%, 56%)
HSVhsv(64, 65%, 84%)
CMYKcmyk(4.7%, 0%, 64.8%, 16.5%)
CIE-LABlab(82.27, -20.77, 64.39)
CIE-LCHlch(82.27, 67.66, 107.87°)
OKLaboklab(84% -0.0627 0.1455)
OKLCHoklch(84% 0.158 113.3)
XYZxyz(49.6942, 60.7940, 15.7719)
Luminance0.6079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD54B #554BD5
analogous
#D59A4B #CBD54B #86D54B
triadic
#CBD54B #4BCBD5 #D54BCB
tetradic
#CBD54B #4BD59A #554BD5 #D54B86
square
#CBD54B #4BD59A #554BD5 #D54B86
split-complementary
#CBD54B #4B86D5 #9A4BD5
monochromatic
#7F861F #AEB82B #CBD54B #D9E17D #E8ECAE

Accessibility & contrast

On white

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

On black

13.16
#CBD54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD54B
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD54B#FFFFFF#000000##000000
##CBD54B1.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB38
Deuteranopia (green-blind)
#E4CE54
Tritanopia (blue-blind)
#D8C9B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cbd54b;
/* rgb */ color: rgb(203, 213, 75);
/* oklch */ color: oklch(84.0% 0.158 113.3);
Tailwind
colors: {
  custom: {
    50: '#dee184',
    500: '#cbd54b',
    950: '#000000',
  },
}
SCSS
$custom: #cbd54b;
$custom-light: #dee184;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd54b",
  "rgb": {
    "r": 203,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 64.348,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83999,
    "c": 0.1584,
    "h": 113.3
  },
  "luminance": 0.60793
}

Semantic roles & 50–950 ramp

primary
#CBD54B
secondary
#3E378D
accent
#43E54E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD54B

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

Preview Lab → · Contrast checker → · Palette generator →

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