#CBD74F#CBD74F

#CBD74F is a very light, vivid yellow. Relative luminance 0.619; 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#CBD74F
RGBrgb(203, 215, 79)
HSLhsl(65, 63%, 58%)
HSVhsv(65, 63%, 84%)
CMYKcmyk(5.6%, 0%, 63.3%, 15.7%)
CIE-LABlab(82.84, -21.49, 63.39)
CIE-LCHlch(82.84, 66.93, 108.73°)
OKLaboklab(84.47% -0.0643 0.144)
OKLCHoklch(84.47% 0.158 114.1)
XYZxyz(50.3416, 61.8628, 16.6844)
Luminance0.6186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD74F #5B4FD7
analogous
#D79F4F #CBD74F #87D74F
triadic
#CBD74F #4FCBD7 #D74FCB
tetradic
#CBD74F #4FD79F #5B4FD7 #D74F87
square
#CBD74F #4FD79F #5B4FD7 #D74F87
split-complementary
#CBD74F #4F87D7 #9F4FD7
monochromatic
#828C20 #B1BE2B #CBD74F #DAE281 #E8EEB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBD74F#FFFFFF#000000##000000
##CBD74F1.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)
#E6CD3D
Deuteranopia (green-blind)
#E5D058
Tritanopia (blue-blind)
#D8CBBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cbd74f;
/* rgb */ color: rgb(203, 215, 79);
/* oklch */ color: oklch(84.5% 0.158 114.1);
Tailwind
colors: {
  custom: {
    50: '#dee387',
    500: '#cbd74f',
    950: '#000000',
  },
}
SCSS
$custom: #cbd74f;
$custom-light: #dee387;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd74f",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 65.294,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84467,
    "c": 0.15766,
    "h": 114.1
  },
  "luminance": 0.61862
}

Semantic roles & 50–950 ramp

primary
#CBD74F
secondary
#403992
accent
#42E650
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD74F

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

Preview Lab → · Contrast checker → · Palette generator →

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