#CDBE45#CDBE45

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

Color values

HEX#CDBE45
RGBrgb(205, 190, 69)
HSLhsl(53, 58%, 54%)
HSVhsv(53, 66%, 80%)
CMYKcmyk(0%, 7.3%, 66.3%, 19.6%)
CIE-LABlab(76.21, -8.75, 60.58)
CIE-LCHlch(76.21, 61.20, 98.22°)
OKLaboklab(79.2% -0.0295 0.1364)
OKLCHoklch(79.2% 0.14 102.2)
XYZxyz(44.6663, 50.2376, 12.9731)
Luminance0.5024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBE45 #4554CD
analogous
#CD7A45 #CDBE45 #98CD45
triadic
#CDBE45 #45CDBE #BE45CD
tetradic
#CDBE45 #45CD7A #4554CD #CD4598
square
#CDBE45 #45CD7A #4554CD #CD4598
split-complementary
#CDBE45 #4598CD #7A45CD
monochromatic
#776E20 #A89A2D #CDBE45 #DACF75 #E7E0A5

Accessibility & contrast

On white

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

On black

11.05
#CDBE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBE45
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBE45#FFFFFF#000000##000000
##CDBE451.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdbe45;
/* rgb */ color: rgb(205, 190, 69);
/* oklch */ color: oklch(79.2% 0.140 102.2);
Tailwind
colors: {
  custom: {
    50: '#e0d17f',
    500: '#cdbe45',
    950: '#000000',
  },
}
SCSS
$custom: #cdbe45;
$custom-light: #e0d17f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbe45",
  "rgb": {
    "r": 205,
    "g": 190,
    "b": 69
  },
  "hsl": {
    "h": 53.382,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79196,
    "c": 0.1396,
    "h": 102.2
  },
  "luminance": 0.50236
}

Semantic roles & 50–950 ramp

primary
#CDBE45
secondary
#363E80
accent
#58E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDBE45

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

Preview Lab → · Contrast checker → · Palette generator →

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