#CDB154#CDB154

#CDB154 is a light, moderate yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.117 H 92.7°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#CDB154
RGBrgb(205, 177, 84)
HSLhsl(46, 55%, 57%)
HSVhsv(46, 59%, 80%)
CMYKcmyk(0%, 13.7%, 59%, 19.6%)
CIE-LABlab(72.94, -0.99, 50.40)
CIE-LCHlch(72.94, 50.41, 91.13°)
OKLaboklab(76.64% -0.0055 0.1169)
OKLCHoklch(76.64% 0.117 92.7)
XYZxyz(42.5010, 45.0656, 14.8457)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB154 #5470CD
analogous
#CD7554 #CDB154 #ACCD54
triadic
#CDB154 #54CDB1 #B154CD
tetradic
#CDB154 #54CD75 #5470CD #CD54AC
square
#CDB154 #54CD75 #5470CD #CD54AC
split-complementary
#CDB154 #54ACCD #7554CD
monochromatic
#816C26 #B09334 #CDB154 #DBC783 #E9DCB3

Accessibility & contrast

On white

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

On black

10.01
#CDB154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB154
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB154#FFFFFF#000000##000000
##CDB1541.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE4B
Deuteranopia (green-blind)
#C9B758
Tritanopia (blue-blind)
#DCA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb154;
/* rgb */ color: rgb(205, 177, 84);
/* oklch */ color: oklch(76.6% 0.117 92.7);
Tailwind
colors: {
  custom: {
    50: '#dfc887',
    500: '#cdb154',
    950: '#000000',
  },
}
SCSS
$custom: #cdb154;
$custom-light: #dfc887;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb154",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 84
  },
  "hsl": {
    "h": 46.116,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.76641,
    "c": 0.11706,
    "h": 92.7
  },
  "luminance": 0.45064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB154

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

Preview Lab → · Contrast checker → · Palette generator →

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