#CDA158#CDA158

#CDA158 is a light, moderate orange. Relative luminance 0.392; OKLCH L 73.5% C 0.105 H 78.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CDA158
RGBrgb(205, 161, 88)
HSLhsl(37, 54%, 57%)
HSVhsv(37, 57%, 80%)
CMYKcmyk(0%, 21.5%, 57.1%, 19.6%)
CIE-LABlab(68.88, 7.85, 43.74)
CIE-LCHlch(68.88, 44.44, 79.82°)
OKLaboklab(73.46% 0.0208 0.103)
OKLCHoklch(73.46% 0.105 78.6)
XYZxyz(39.6851, 39.1760, 14.7021)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA158 #5884CD
analogous
#CD6758 #CDA158 #BECD58
triadic
#CDA158 #58CDA1 #A158CD
tetradic
#CDA158 #58CD67 #5884CD #CD58BE
square
#CDA158 #58CD67 #5884CD #CD58BE
split-complementary
#CDA158 #58BECD #6758CD
monochromatic
#836127 #B28335 #CDA158 #DBBC87 #E9D6B6

Accessibility & contrast

On white

2.38
#CDA158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CDA158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA158
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA158#FFFFFF#000000##000000
##CDA1581.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A251
Deuteranopia (green-blind)
#BDAD5A
Tritanopia (blue-blind)
#DD9490
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cda158;
/* rgb */ color: rgb(205, 161, 88);
/* oklch */ color: oklch(73.5% 0.105 78.6);
Tailwind
colors: {
  custom: {
    50: '#dfbc89',
    500: '#cda158',
    950: '#000000',
  },
}
SCSS
$custom: #cda158;
$custom-light: #dfbc89;
$custom-dark: #000000;
JSON
{
  "hex": "#cda158",
  "rgb": {
    "r": 205,
    "g": 161,
    "b": 88
  },
  "hsl": {
    "h": 37.436,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.73463,
    "c": 0.10503,
    "h": 78.6
  },
  "luminance": 0.39173
}

Semantic roles & 50–950 ramp

primary
#CDA158
secondary
#A9BBD8
accent
#82DD4B
background
#FEFBF8
surface
#FCF6F0
border
#D5D0CB
text
#16120C
muted
#84817D

Preview Lab

Preview with #CDA158

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

Preview Lab → · Contrast checker → · Palette generator →

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