#CDB157#CDB157

#CDB157 is a light, moderate yellow. Relative luminance 0.451; OKLCH L 76.7% C 0.114 H 92.3°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#CDB157
RGBrgb(205, 177, 87)
HSLhsl(46, 54%, 57%)
HSVhsv(46, 58%, 80%)
CMYKcmyk(0%, 13.7%, 57.6%, 19.6%)
CIE-LABlab(72.97, -0.77, 49.01)
CIE-LCHlch(72.97, 49.02, 90.90°)
OKLaboklab(76.68% -0.0045 0.1143)
OKLCHoklch(76.68% 0.114 92.3)
XYZxyz(42.6211, 45.1136, 15.4778)
Luminance0.4511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB157 #5773CD
analogous
#CD7657 #CDB157 #AECD57
triadic
#CDB157 #57CDB1 #B157CD
tetradic
#CDB157 #57CD76 #5773CD #CD57AE
square
#CDB157 #57CD76 #5773CD #CD57AE
split-complementary
#CDB157 #57AECD #7657CD
monochromatic
#836D27 #B29435 #CDB157 #DBC786 #E9DDB5

Accessibility & contrast

On white

2.10
#CDB157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#CDB157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB157
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB157#FFFFFF#000000##000000
##CDB1571.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4E
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#DCA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb157;
/* rgb */ color: rgb(205, 177, 87);
/* oklch */ color: oklch(76.7% 0.114 92.3);
Tailwind
colors: {
  custom: {
    50: '#dfc889',
    500: '#cdb157',
    950: '#000000',
  },
}
SCSS
$custom: #cdb157;
$custom-light: #dfc889;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb157",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 45.763,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.76676,
    "c": 0.11439,
    "h": 92.3
  },
  "luminance": 0.45112
}

Semantic roles & 50–950 ramp

primary
#CDB157
secondary
#A8B3D8
accent
#6DDD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB157

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

Preview Lab → · Contrast checker → · Palette generator →

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