#CDB156#CDB156

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

Color values

HEX#CDB156
RGBrgb(205, 177, 86)
HSLhsl(46, 54%, 57%)
HSVhsv(46, 58%, 80%)
CMYKcmyk(0%, 13.7%, 58%, 19.6%)
CIE-LABlab(72.96, -0.85, 49.48)
CIE-LCHlch(72.96, 49.48, 90.98°)
OKLaboklab(76.67% -0.0049 0.1152)
OKLCHoklch(76.67% 0.115 92.4)
XYZxyz(42.5805, 45.0974, 15.2641)
Luminance0.4510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB156 #5672CD
analogous
#CD7556 #CDB156 #AECD56
triadic
#CDB156 #56CDB1 #B156CD
tetradic
#CDB156 #56CD75 #5672CD #CD56AE
square
#CDB156 #56CD75 #5672CD #CD56AE
split-complementary
#CDB156 #56AECD #7556CD
monochromatic
#826D26 #B19434 #CDB156 #DBC785 #E9DDB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB156#FFFFFF#000000##000000
##CDB1561.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)
#C2AE4D
Deuteranopia (green-blind)
#C9B75A
Tritanopia (blue-blind)
#DCA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb156;
/* rgb */ color: rgb(205, 177, 86);
/* oklch */ color: oklch(76.7% 0.115 92.4);
Tailwind
colors: {
  custom: {
    50: '#dfc888',
    500: '#cdb156',
    950: '#000000',
  },
}
SCSS
$custom: #cdb156;
$custom-light: #dfc888;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb156",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 86
  },
  "hsl": {
    "h": 45.882,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76665,
    "c": 0.11529,
    "h": 92.4
  },
  "luminance": 0.45095
}

Semantic roles & 50–950 ramp

primary
#CDB156
secondary
#A7B3D8
accent
#6DDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB156

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

Preview Lab → · Contrast checker → · Palette generator →

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