#CDB25C#CDB25C

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

Color values

HEX#CDB25C
RGBrgb(205, 178, 92)
HSLhsl(46, 53%, 58%)
HSVhsv(46, 55%, 80%)
CMYKcmyk(0%, 13.2%, 55.1%, 19.6%)
CIE-LABlab(73.28, -0.91, 46.97)
CIE-LCHlch(73.28, 46.98, 91.11°)
OKLaboklab(76.94% -0.0043 0.1104)
OKLCHoklch(76.94% 0.11 92.2)
XYZxyz(43.0307, 45.5947, 16.6572)
Luminance0.4559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB25C #5C77CD
analogous
#CD795C #CDB25C #AFCD5C
triadic
#CDB25C #5CCDB2 #B25CCD
tetradic
#CDB25C #5CCD79 #5C77CD #CD5CAF
square
#CDB25C #5CCD79 #5C77CD #CD5CAF
split-complementary
#CDB25C #5CAFCD #795CCD
monochromatic
#866F29 #B49737 #CDB25C #DBC88B #EADEBA

Accessibility & contrast

On white

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

On black

10.12
#CDB25C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB25C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB25C#FFFFFF#000000##000000
##CDB25C1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb25c;
/* rgb */ color: rgb(205, 178, 92);
/* oklch */ color: oklch(76.9% 0.110 92.2);
Tailwind
colors: {
  custom: {
    50: '#dfc88c',
    500: '#cdb25c',
    950: '#000000',
  },
}
SCSS
$custom: #cdb25c;
$custom-light: #dfc88c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb25c",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 92
  },
  "hsl": {
    "h": 45.664,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.76943,
    "c": 0.11049,
    "h": 92.2
  },
  "luminance": 0.45593
}

Semantic roles & 50–950 ramp

primary
#CDB25C
secondary
#ACB7D9
accent
#6EDC4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDB25C

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

Preview Lab → · Contrast checker → · Palette generator →

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