#CDB951#CDB951

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

Color values

HEX#CDB951
RGBrgb(205, 185, 81)
HSLhsl(50, 55%, 56%)
HSVhsv(50, 60%, 80%)
CMYKcmyk(0%, 9.8%, 60.5%, 19.6%)
CIE-LABlab(75.00, -5.40, 54.10)
CIE-LCHlch(75.00, 54.37, 95.70°)
OKLaboklab(78.26% -0.0186 0.1245)
OKLCHoklch(78.26% 0.126 98.5)
XYZxyz(44.0128, 48.2731, 14.7823)
Luminance0.4827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB951 #5165CD
analogous
#CD7B51 #CDB951 #A3CD51
triadic
#CDB951 #51CDB9 #B951CD
tetradic
#CDB951 #51CD7B #5165CD #CD51A3
square
#CDB951 #51CD7B #5165CD #CD51A3
split-complementary
#CDB951 #51A3CD #7B51CD
monochromatic
#7F7025 #AF9B32 #CDB951 #DBCC81 #E8DFB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB951#FFFFFF#000000##000000
##CDB9511.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)
#C9B546
Deuteranopia (green-blind)
#CFBC56
Tritanopia (blue-blind)
#DCADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdb951;
/* rgb */ color: rgb(205, 185, 81);
/* oklch */ color: oklch(78.3% 0.126 98.5);
Tailwind
colors: {
  custom: {
    50: '#dfcd86',
    500: '#cdb951',
    950: '#000000',
  },
}
SCSS
$custom: #cdb951;
$custom-light: #dfcd86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb951",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 50.323,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78263,
    "c": 0.12586,
    "h": 98.5
  },
  "luminance": 0.48271
}

Semantic roles & 50–950 ramp

primary
#CDB951
secondary
#A3ACD7
accent
#61DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB951

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

Preview Lab → · Contrast checker → · Palette generator →

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