#CBD74B#CBD74B

#CBD74B is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.4% C 0.161 H 114.0°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#CBD74B
RGBrgb(203, 215, 75)
HSLhsl(65, 64%, 57%)
HSVhsv(65, 65%, 84%)
CMYKcmyk(5.6%, 0%, 65.1%, 15.7%)
CIE-LABlab(82.81, -21.74, 64.95)
CIE-LCHlch(82.81, 68.50, 108.51°)
OKLaboklab(84.43% -0.0654 0.1467)
OKLCHoklch(84.43% 0.161 114)
XYZxyz(50.2003, 61.8063, 15.9406)
Luminance0.6180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD74B #574BD7
analogous
#D79D4B #CBD74B #85D74B
triadic
#CBD74B #4BCBD7 #D74BCB
tetradic
#CBD74B #4BD79D #574BD7 #D74B85
square
#CBD74B #4BD79D #574BD7 #D74B85
split-complementary
#CBD74B #4B85D7 #9D4BD7
monochromatic
#80891E #AFBB2A #CBD74B #D9E27D #E8EDAF

Accessibility & contrast

On white

1.57
#CBD74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#CBD74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD74B
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD74B#FFFFFF#000000##000000
##CBD74B1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD38
Deuteranopia (green-blind)
#E6D055
Tritanopia (blue-blind)
#D8CBBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cbd74b;
/* rgb */ color: rgb(203, 215, 75);
/* oklch */ color: oklch(84.4% 0.161 114.0);
Tailwind
colors: {
  custom: {
    50: '#dee384',
    500: '#cbd74b',
    950: '#000000',
  },
}
SCSS
$custom: #cbd74b;
$custom-light: #dee384;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd74b",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 75
  },
  "hsl": {
    "h": 65.143,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84433,
    "c": 0.16059,
    "h": 114
  },
  "luminance": 0.61805
}

Semantic roles & 50–950 ramp

primary
#CBD74B
secondary
#3F378F
accent
#41E74F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD74B

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

Preview Lab → · Contrast checker → · Palette generator →

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