#CBD74E#CBD74E

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

Color values

HEX#CBD74E
RGBrgb(203, 215, 78)
HSLhsl(65, 63%, 57%)
HSVhsv(65, 64%, 84%)
CMYKcmyk(5.6%, 0%, 63.7%, 15.7%)
CIE-LABlab(82.83, -21.56, 63.79)
CIE-LCHlch(82.83, 67.33, 108.67°)
OKLaboklab(84.46% -0.0646 0.1446)
OKLCHoklch(84.46% 0.158 114.1)
XYZxyz(50.3055, 61.8484, 16.4942)
Luminance0.6185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD74E #5A4ED7
analogous
#D79E4E #CBD74E #87D74E
triadic
#CBD74E #4ECBD7 #D74ECB
tetradic
#CBD74E #4ED79E #5A4ED7 #D74E87
square
#CBD74E #4ED79E #5A4ED7 #D74E87
split-complementary
#CBD74E #4E87D7 #9E4ED7
monochromatic
#828B1F #B0BD2B #CBD74E #DAE280 #E8EEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBD74E#FFFFFF#000000##000000
##CBD74E1.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)
#E6CD3C
Deuteranopia (green-blind)
#E5D057
Tritanopia (blue-blind)
#D8CBBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cbd74e;
/* rgb */ color: rgb(203, 215, 78);
/* oklch */ color: oklch(84.5% 0.158 114.1);
Tailwind
colors: {
  custom: {
    50: '#dee386',
    500: '#cbd74e',
    950: '#000000',
  },
}
SCSS
$custom: #cbd74e;
$custom-light: #dee386;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd74e",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 65.255,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84458,
    "c": 0.1584,
    "h": 114.1
  },
  "luminance": 0.61847
}

Semantic roles & 50–950 ramp

primary
#CBD74E
secondary
#403891
accent
#42E650
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD74E

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

Preview Lab → · Contrast checker → · Palette generator →

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