#CBD74C#CBD74C

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

Color values

HEX#CBD74C
RGBrgb(203, 215, 76)
HSLhsl(65, 63%, 57%)
HSVhsv(65, 65%, 84%)
CMYKcmyk(5.6%, 0%, 64.7%, 15.7%)
CIE-LABlab(82.82, -21.68, 64.57)
CIE-LCHlch(82.82, 68.11, 108.56°)
OKLaboklab(84.44% -0.0651 0.146)
OKLCHoklch(84.44% 0.16 114)
XYZxyz(50.2348, 61.8201, 16.1223)
Luminance0.6182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD74C #584CD7
analogous
#D79E4C #CBD74C #86D74C
triadic
#CBD74C #4CCBD7 #D74CCB
tetradic
#CBD74C #4CD79E #584CD7 #D74C86
square
#CBD74C #4CD79E #584CD7 #D74C86
split-complementary
#CBD74C #4C86D7 #9E4CD7
monochromatic
#818A1F #AFBC2A #CBD74C #DAE27E #E8EDB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBD74C#FFFFFF#000000##000000
##CBD74C1.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)
#E6CD39
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#D8CBBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cbd74c;
/* rgb */ color: rgb(203, 215, 76);
/* oklch */ color: oklch(84.4% 0.160 114.0);
Tailwind
colors: {
  custom: {
    50: '#dee385',
    500: '#cbd74c',
    950: '#000000',
  },
}
SCSS
$custom: #cbd74c;
$custom-light: #dee385;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd74c",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 65.18,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84441,
    "c": 0.15987,
    "h": 114
  },
  "luminance": 0.61819
}

Semantic roles & 50–950 ramp

primary
#CBD74C
secondary
#3F3790
accent
#41E650
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD74C

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

Preview Lab → · Contrast checker → · Palette generator →

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