#CBD258#CBD258

#CBD258 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.5% C 0.145 H 112.2°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#CBD258
RGBrgb(203, 210, 88)
HSLhsl(63, 58%, 58%)
HSVhsv(63, 58%, 82%)
CMYKcmyk(3.3%, 0%, 58.1%, 17.6%)
CIE-LABlab(81.56, -18.42, 58.22)
CIE-LCHlch(81.56, 61.07, 107.56°)
OKLaboklab(83.47% -0.0547 0.1342)
OKLCHoklch(83.47% 0.145 112.2)
XYZxyz(49.4379, 59.4953, 18.1101)
Luminance0.5949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD258 #5F58D2
analogous
#D29C58 #CBD258 #8ED258
triadic
#CBD258 #58CBD2 #D258CB
tetradic
#CBD258 #58D29C #5F58D2 #D2588E
square
#CBD258 #58D29C #5F58D2 #D2588E
split-complementary
#CBD258 #588ED2 #9C58D2
monochromatic
#858A25 #B3BB32 #CBD258 #DADF88 #E9ECB8

Accessibility & contrast

On white

1.63
#CBD258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#CBD258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD258
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD258#FFFFFF#000000##000000
##CBD2581.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C94A
Deuteranopia (green-blind)
#E1CC5F
Tritanopia (blue-blind)
#D7C6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd258;
/* rgb */ color: rgb(203, 210, 88);
/* oklch */ color: oklch(83.5% 0.145 112.2);
Tailwind
colors: {
  custom: {
    50: '#dddf8c',
    500: '#cbd258',
    950: '#000000',
  },
}
SCSS
$custom: #cbd258;
$custom-light: #dddf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd258",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 63.443,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83469,
    "c": 0.14493,
    "h": 112.2
  },
  "luminance": 0.59494
}

Semantic roles & 50–950 ramp

primary
#CBD258
secondary
#423E91
accent
#47E150
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD258

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

Preview Lab → · Contrast checker → · Palette generator →

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