#CDB155#CDB155

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

Color values

HEX#CDB155
RGBrgb(205, 177, 85)
HSLhsl(46, 55%, 57%)
HSVhsv(46, 59%, 80%)
CMYKcmyk(0%, 13.7%, 58.5%, 19.6%)
CIE-LABlab(72.95, -0.92, 49.94)
CIE-LCHlch(72.95, 49.95, 91.06°)
OKLaboklab(76.65% -0.0052 0.1161)
OKLCHoklch(76.65% 0.116 92.6)
XYZxyz(42.5405, 45.0814, 15.0534)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB155 #5571CD
analogous
#CD7555 #CDB155 #ADCD55
triadic
#CDB155 #55CDB1 #B155CD
tetradic
#CDB155 #55CD75 #5571CD #CD55AD
square
#CDB155 #55CD75 #5571CD #CD55AD
split-complementary
#CDB155 #55ADCD #7555CD
monochromatic
#826C26 #B19434 #CDB155 #DBC784 #E9DCB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB155#FFFFFF#000000##000000
##CDB1551.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)
#C2AE4C
Deuteranopia (green-blind)
#C9B759
Tritanopia (blue-blind)
#DCA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb155;
/* rgb */ color: rgb(205, 177, 85);
/* oklch */ color: oklch(76.7% 0.116 92.6);
Tailwind
colors: {
  custom: {
    50: '#dfc888',
    500: '#cdb155',
    950: '#000000',
  },
}
SCSS
$custom: #cdb155;
$custom-light: #dfc888;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb155",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 85
  },
  "hsl": {
    "h": 46,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76653,
    "c": 0.11618,
    "h": 92.6
  },
  "luminance": 0.45079
}

Semantic roles & 50–950 ramp

primary
#CDB155
secondary
#A6B2D7
accent
#6CDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB155

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

Preview Lab → · Contrast checker → · Palette generator →

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