#CDA157#CDA157

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

Color values

HEX#CDA157
RGBrgb(205, 161, 87)
HSLhsl(38, 54%, 57%)
HSVhsv(38, 58%, 80%)
CMYKcmyk(0%, 21.5%, 57.6%, 19.6%)
CIE-LABlab(68.87, 7.78, 44.22)
CIE-LCHlch(68.87, 44.90, 80.03°)
OKLaboklab(73.45% 0.0204 0.1039)
OKLCHoklch(73.45% 0.106 78.9)
XYZxyz(39.6440, 39.1595, 14.4854)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA157 #5783CD
analogous
#CD6657 #CDA157 #BECD57
triadic
#CDA157 #57CDA1 #A157CD
tetradic
#CDA157 #57CD66 #5783CD #CD57BE
square
#CDA157 #57CD66 #5783CD #CD57BE
split-complementary
#CDA157 #57BECD #6657CD
monochromatic
#836027 #B28335 #CDA157 #DBBB86 #E9D6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDA157#FFFFFF#000000##000000
##CDA1571.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)
#B3A250
Deuteranopia (green-blind)
#BDAC59
Tritanopia (blue-blind)
#DD9490
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cda157;
/* rgb */ color: rgb(205, 161, 87);
/* oklch */ color: oklch(73.5% 0.106 78.9);
Tailwind
colors: {
  custom: {
    50: '#dfbc88',
    500: '#cda157',
    950: '#000000',
  },
}
SCSS
$custom: #cda157;
$custom-light: #dfbc88;
$custom-dark: #000000;
JSON
{
  "hex": "#cda157",
  "rgb": {
    "r": 205,
    "g": 161,
    "b": 87
  },
  "hsl": {
    "h": 37.627,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.7345,
    "c": 0.10589,
    "h": 78.9
  },
  "luminance": 0.39157
}

Semantic roles & 50–950 ramp

primary
#CDA157
secondary
#A8BAD8
accent
#81DD4A
background
#FEFBF8
surface
#FCF6F0
border
#D5D0CB
text
#16120B
muted
#84817C

Preview Lab

Preview with #CDA157

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

Preview Lab → · Contrast checker → · Palette generator →

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