#CDBE42#CDBE42

#CDBE42 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.2% C 0.142 H 102.3°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#CDBE42
RGBrgb(205, 190, 66)
HSLhsl(54, 58%, 53%)
HSVhsv(54, 68%, 80%)
CMYKcmyk(0%, 7.3%, 67.8%, 19.6%)
CIE-LABlab(76.19, -8.91, 61.76)
CIE-LCHlch(76.19, 62.40, 98.21°)
OKLaboklab(79.17% -0.0303 0.1385)
OKLCHoklch(79.17% 0.142 102.3)
XYZxyz(44.5755, 50.2012, 12.4950)
Luminance0.5020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBE42 #4251CD
analogous
#CD7842 #CDBE42 #96CD42
triadic
#CDBE42 #42CDBE #BE42CD
tetradic
#CDBE42 #42CD78 #4251CD #CD4296
square
#CDBE42 #42CD78 #4251CD #CD4296
split-complementary
#CDBE42 #4296CD #7842CD
monochromatic
#766C1F #A6992C #CDBE42 #DACF72 #E7DFA3

Accessibility & contrast

On white

1.90
#CDBE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#CDBE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBE42
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBE42#FFFFFF#000000##000000
##CDBE421.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB831
Deuteranopia (green-blind)
#D4BF4A
Tritanopia (blue-blind)
#DCB1A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cdbe42;
/* rgb */ color: rgb(205, 190, 66);
/* oklch */ color: oklch(79.2% 0.142 102.3);
Tailwind
colors: {
  custom: {
    50: '#e0d17d',
    500: '#cdbe42',
    950: '#000000',
  },
}
SCSS
$custom: #cdbe42;
$custom-light: #e0d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbe42",
  "rgb": {
    "r": 205,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 53.525,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79172,
    "c": 0.14174,
    "h": 102.3
  },
  "luminance": 0.50199
}

Semantic roles & 50–950 ramp

primary
#CDBE42
secondary
#353D7E
accent
#57E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDBE42

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

Preview Lab → · Contrast checker → · Palette generator →

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