#CBD74D#CBD74D

#CBD74D is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.5% C 0.159 H 114.1°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#CBD74D
RGBrgb(203, 215, 77)
HSLhsl(65, 63%, 57%)
HSVhsv(65, 64%, 84%)
CMYKcmyk(5.6%, 0%, 64.2%, 15.7%)
CIE-LABlab(82.83, -21.62, 64.18)
CIE-LCHlch(82.83, 67.72, 108.62°)
OKLaboklab(84.45% -0.0649 0.1453)
OKLCHoklch(84.45% 0.159 114.1)
XYZxyz(50.2699, 61.8341, 16.3068)
Luminance0.6183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD74D #594DD7
analogous
#D79E4D #CBD74D #86D74D
triadic
#CBD74D #4DCBD7 #D74DCB
tetradic
#CBD74D #4DD79E #594DD7 #D74D86
square
#CBD74D #4DD79E #594DD7 #D74D86
split-complementary
#CBD74D #4D86D7 #9E4DD7
monochromatic
#818A1F #B0BC2A #CBD74D #DAE27F #E8EDB1

Accessibility & contrast

On white

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

On black

13.37
#CBD74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD74D
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD74D#FFFFFF#000000##000000
##CBD74D1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbd74d;
/* rgb */ color: rgb(203, 215, 77);
/* oklch */ color: oklch(84.5% 0.159 114.1);
Tailwind
colors: {
  custom: {
    50: '#dee385',
    500: '#cbd74d',
    950: '#000000',
  },
}
SCSS
$custom: #cbd74d;
$custom-light: #dee385;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd74d",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 65.217,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8445,
    "c": 0.15915,
    "h": 114.1
  },
  "luminance": 0.61833
}

Semantic roles & 50–950 ramp

primary
#CBD74D
secondary
#3F3890
accent
#41E650
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD74D

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

Preview Lab → · Contrast checker → · Palette generator →

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