#CBD562#CBD562

#CBD562 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.2% C 0.140 H 113.5°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#CBD562
RGBrgb(203, 213, 98)
HSLhsl(65, 58%, 61%)
HSVhsv(65, 54%, 84%)
CMYKcmyk(4.7%, 0%, 54%, 16.5%)
CIE-LABlab(82.47, -19.12, 54.79)
CIE-LCHlch(82.47, 58.03, 109.24°)
OKLaboklab(84.22% -0.0557 0.128)
OKLCHoklch(84.22% 0.14 113.5)
XYZxyz(50.6285, 61.1677, 20.6924)
Luminance0.6117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD562 #6C62D5
analogous
#D5A562 #CBD562 #91D562
triadic
#CBD562 #62CBD5 #D562CB
tetradic
#CBD562 #62D5A5 #6C62D5 #D56291
square
#CBD562 #62D5A5 #6C62D5 #D56291
split-complementary
#CBD562 #6291D5 #A562D5
monochromatic
#8B9528 #B9C535 #CBD562 #DBE292 #EBEFC3

Accessibility & contrast

On white

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

On black

13.23
#CBD562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD562
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD562#FFFFFF#000000##000000
##CBD5621.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC56
Deuteranopia (green-blind)
#E2CE69
Tritanopia (blue-blind)
#D7CABC
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cbd562;
/* rgb */ color: rgb(203, 213, 98);
/* oklch */ color: oklch(84.2% 0.140 113.5);
Tailwind
colors: {
  custom: {
    50: '#dde192',
    500: '#cbd562',
    950: '#000000',
  },
}
SCSS
$custom: #cbd562;
$custom-light: #dde192;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd562",
  "rgb": {
    "r": 203,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 65.217,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84224,
    "c": 0.13958,
    "h": 113.5
  },
  "luminance": 0.61167
}

Semantic roles & 50–950 ramp

primary
#CBD562
secondary
#49419A
accent
#20C52E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD562

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

Preview Lab → · Contrast checker → · Palette generator →

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