#CDBE51#CDBE51

#CDBE51 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.3% C 0.130 H 101.5°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#CDBE51
RGBrgb(205, 190, 81)
HSLhsl(53, 55%, 56%)
HSVhsv(53, 60%, 80%)
CMYKcmyk(0%, 7.3%, 60.5%, 19.6%)
CIE-LABlab(76.32, -7.99, 55.56)
CIE-LCHlch(76.32, 56.13, 98.18°)
OKLaboklab(79.31% -0.026 0.1276)
OKLCHoklch(79.31% 0.13 101.5)
XYZxyz(45.0772, 50.4019, 15.1371)
Luminance0.5040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBE51 #5160CD
analogous
#CD8051 #CDBE51 #9ECD51
triadic
#CDBE51 #51CDBE #BE51CD
tetradic
#CDBE51 #51CD80 #5160CD #CD519E
square
#CDBE51 #51CD80 #5160CD #CD519E
split-complementary
#CDBE51 #519ECD #8051CD
monochromatic
#7F7425 #AFA032 #CDBE51 #DBD081 #E8E2B0

Accessibility & contrast

On white

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

On black

11.08
#CDBE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBE51
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBE51#FFFFFF#000000##000000
##CDBE511.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB945
Deuteranopia (green-blind)
#D3BF57
Tritanopia (blue-blind)
#DCB2A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cdbe51;
/* rgb */ color: rgb(205, 190, 81);
/* oklch */ color: oklch(79.3% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#dfd186',
    500: '#cdbe51',
    950: '#000000',
  },
}
SCSS
$custom: #cdbe51;
$custom-light: #dfd186;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbe51",
  "rgb": {
    "r": 205,
    "g": 190,
    "b": 81
  },
  "hsl": {
    "h": 52.742,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79308,
    "c": 0.1302,
    "h": 101.5
  },
  "luminance": 0.504
}

Semantic roles & 50–950 ramp

primary
#CDBE51
secondary
#3B4587
accent
#5BDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDBE51

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

Preview Lab → · Contrast checker → · Palette generator →

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