#CDB950#CDB950

#CDB950 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.127 H 98.6°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#CDB950
RGBrgb(205, 185, 80)
HSLhsl(50, 56%, 56%)
HSVhsv(50, 61%, 80%)
CMYKcmyk(0%, 9.8%, 61%, 19.6%)
CIE-LABlab(74.99, -5.47, 54.54)
CIE-LCHlch(74.99, 54.81, 95.73°)
OKLaboklab(78.25% -0.0189 0.1253)
OKLCHoklch(78.25% 0.127 98.6)
XYZxyz(43.9755, 48.2582, 14.5862)
Luminance0.4826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB950 #5064CD
analogous
#CD7A50 #CDB950 #A2CD50
triadic
#CDB950 #50CDB9 #B950CD
tetradic
#CDB950 #50CD7A #5064CD #CD50A2
square
#CDB950 #50CD7A #5064CD #CD50A2
split-complementary
#CDB950 #50A2CD #7A50CD
monochromatic
#7E7024 #AE9A32 #CDB950 #DBCC80 #E8DFAF

Accessibility & contrast

On white

1.97
#CDB950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#CDB950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB950
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB950#FFFFFF#000000##000000
##CDB9501.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B545
Deuteranopia (green-blind)
#CFBC55
Tritanopia (blue-blind)
#DCADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb950;
/* rgb */ color: rgb(205, 185, 80);
/* oklch */ color: oklch(78.3% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#dfcd85',
    500: '#cdb950',
    950: '#000000',
  },
}
SCSS
$custom: #cdb950;
$custom-light: #dfcd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb950",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 50.4,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78252,
    "c": 0.1267,
    "h": 98.6
  },
  "luminance": 0.48256
}

Semantic roles & 50–950 ramp

primary
#CDB950
secondary
#A2ABD6
accent
#61DF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB950

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

Preview Lab → · Contrast checker → · Palette generator →

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