#CBD045#CBD045

#CBD045 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.9% C 0.157 H 111.4°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#CBD045
RGBrgb(203, 208, 69)
HSLhsl(62, 60%, 54%)
HSVhsv(62, 67%, 82%)
CMYKcmyk(2.4%, 0%, 66.8%, 18.4%)
CIE-LABlab(80.87, -18.66, 65.29)
CIE-LCHlch(80.87, 67.91, 105.95°)
OKLaboklab(82.87% -0.0574 0.1465)
OKLCHoklch(82.87% 0.157 111.4)
XYZxyz(48.2601, 58.2391, 14.3281)
Luminance0.5824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD045 #4A45D0
analogous
#D09045 #CBD045 #86D045
triadic
#CBD045 #45CBD0 #D045CB
tetradic
#CBD045 #45D090 #4A45D0 #D04586
square
#CBD045 #45D090 #4A45D0 #D04586
split-complementary
#CBD045 #4586D0 #9045D0
monochromatic
#787B1F #A8AC2C #CBD045 #D9DC76 #E6E9A7

Accessibility & contrast

On white

1.66
#CBD045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#CBD045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD045
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD045#FFFFFF#000000##000000
##CBD0451.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C730
Deuteranopia (green-blind)
#E0CB4F
Tritanopia (blue-blind)
#D9C4B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbd045;
/* rgb */ color: rgb(203, 208, 69);
/* oklch */ color: oklch(82.9% 0.157 111.4);
Tailwind
colors: {
  custom: {
    50: '#dede80',
    500: '#cbd045',
    950: '#000000',
  },
}
SCSS
$custom: #cbd045;
$custom-light: #dede80;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd045",
  "rgb": {
    "r": 203,
    "g": 208,
    "b": 69
  },
  "hsl": {
    "h": 62.158,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82868,
    "c": 0.15728,
    "h": 111.4
  },
  "luminance": 0.58238
}

Semantic roles & 50–950 ramp

primary
#CBD045
secondary
#393683
accent
#45E34B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD045

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

Preview Lab → · Contrast checker → · Palette generator →

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