#CDB25A#CDB25A

#CDB25A is a light, moderate yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.112 H 92.6°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CDB25A
RGBrgb(205, 178, 90)
HSLhsl(46, 53%, 58%)
HSVhsv(46, 56%, 80%)
CMYKcmyk(0%, 13.2%, 56.1%, 19.6%)
CIE-LABlab(73.26, -1.07, 47.91)
CIE-LCHlch(73.26, 47.92, 91.28°)
OKLaboklab(76.92% -0.005 0.1123)
OKLCHoklch(76.92% 0.112 92.6)
XYZxyz(42.9444, 45.5602, 16.2028)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB25A #5A75CD
analogous
#CD785A #CDB25A #AECD5A
triadic
#CDB25A #5ACDB2 #B25ACD
tetradic
#CDB25A #5ACD78 #5A75CD #CD5AAE
square
#CDB25A #5ACD78 #5A75CD #CD5AAE
split-complementary
#CDB25A #5AAECD #785ACD
monochromatic
#846F28 #B39636 #CDB25A #DBC889 #E9DEB8

Accessibility & contrast

On white

2.08
#CDB25A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#CDB25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB25A
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB25A#FFFFFF#000000##000000
##CDB25A1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF52
Deuteranopia (green-blind)
#C9B75E
Tritanopia (blue-blind)
#DCA69E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb25a;
/* rgb */ color: rgb(205, 178, 90);
/* oklch */ color: oklch(76.9% 0.112 92.6);
Tailwind
colors: {
  custom: {
    50: '#dfc88b',
    500: '#cdb25a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb25a;
$custom-light: #dfc88b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb25a",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 90
  },
  "hsl": {
    "h": 45.913,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.76918,
    "c": 0.11236,
    "h": 92.6
  },
  "luminance": 0.45558
}

Semantic roles & 50–950 ramp

primary
#CDB25A
secondary
#AAB5D8
accent
#6DDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDB25A

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

Preview Lab → · Contrast checker → · Palette generator →

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