#CDB45F#CDB45F

#CDB45F is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.4% C 0.109 H 93.3°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#CDB45F
RGBrgb(205, 180, 95)
HSLhsl(46, 52%, 59%)
HSVhsv(46, 54%, 80%)
CMYKcmyk(0%, 12.2%, 53.7%, 19.6%)
CIE-LABlab(73.84, -1.71, 46.16)
CIE-LCHlch(73.84, 46.19, 92.13°)
OKLaboklab(77.39% -0.0063 0.109)
OKLCHoklch(77.39% 0.109 93.3)
XYZxyz(43.5653, 46.4499, 17.4952)
Luminance0.4645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB45F #5F78CD
analogous
#CD7D5F #CDB45F #AFCD5F
triadic
#CDB45F #5FCDB4 #B45FCD
tetradic
#CDB45F #5FCD7D #5F78CD #CD5FAF
square
#CDB45F #5FCD7D #5F78CD #CD5FAF
split-complementary
#CDB45F #5FAFCD #7D5FCD
monochromatic
#87722A #B69A39 #CDB45F #DCCA8E #EAE0BC

Accessibility & contrast

On white

2.04
#CDB45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#CDB45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB45F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB45F#FFFFFF#000000##000000
##CDB45F1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B157
Deuteranopia (green-blind)
#CAB962
Tritanopia (blue-blind)
#DBA8A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb45f;
/* rgb */ color: rgb(205, 180, 95);
/* oklch */ color: oklch(77.4% 0.109 93.3);
Tailwind
colors: {
  custom: {
    50: '#dfca8e',
    500: '#cdb45f',
    950: '#000000',
  },
}
SCSS
$custom: #cdb45f;
$custom-light: #dfca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb45f",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 46.364,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.77392,
    "c": 0.10913,
    "h": 93.3
  },
  "luminance": 0.46448
}

Semantic roles & 50–950 ramp

primary
#CDB45F
secondary
#AEB8DA
accent
#6DDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CDB45F

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

Preview Lab → · Contrast checker → · Palette generator →

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