#CBD54F#CBD54F

#CBD54F is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.0% C 0.155 H 113.3°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#CBD54F
RGBrgb(203, 213, 79)
HSLhsl(64, 61%, 57%)
HSVhsv(64, 63%, 84%)
CMYKcmyk(4.7%, 0%, 62.9%, 16.5%)
CIE-LABlab(82.30, -20.52, 62.82)
CIE-LCHlch(82.30, 66.08, 108.09°)
OKLaboklab(84.03% -0.0616 0.1427)
OKLCHoklch(84.03% 0.155 113.3)
XYZxyz(49.8354, 60.8505, 16.5157)
Luminance0.6085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD54F #594FD5
analogous
#D59C4F #CBD54F #88D54F
triadic
#CBD54F #4FCBD5 #D54FCB
tetradic
#CBD54F #4FD59C #594FD5 #D54F88
square
#CBD54F #4FD59C #594FD5 #D54F88
split-complementary
#CBD54F #4F88D5 #9C4FD5
monochromatic
#818921 #B0BA2C #CBD54F #DAE180 #E8EDB2

Accessibility & contrast

On white

1.59
#CBD54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#CBD54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD54F
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD54F#FFFFFF#000000##000000
##CBD54F1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3E
Deuteranopia (green-blind)
#E4CE58
Tritanopia (blue-blind)
#D8C9B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cbd54f;
/* rgb */ color: rgb(203, 213, 79);
/* oklch */ color: oklch(84.0% 0.155 113.3);
Tailwind
colors: {
  custom: {
    50: '#dee186',
    500: '#cbd54f',
    950: '#000000',
  },
}
SCSS
$custom: #cbd54f;
$custom-light: #dee186;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd54f",
  "rgb": {
    "r": 203,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 64.478,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84033,
    "c": 0.15545,
    "h": 113.3
  },
  "luminance": 0.6085
}

Semantic roles & 50–950 ramp

primary
#CBD54F
secondary
#3F398F
accent
#43E54F
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD54F

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

Preview Lab → · Contrast checker → · Palette generator →

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