#CDB35F#CDB35F

#CDB35F is a light, moderate yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.108 H 92.5°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#CDB35F
RGBrgb(205, 179, 95)
HSLhsl(46, 52%, 59%)
HSVhsv(46, 54%, 80%)
CMYKcmyk(0%, 12.7%, 53.7%, 19.6%)
CIE-LABlab(73.58, -1.19, 45.85)
CIE-LCHlch(73.58, 45.87, 91.48°)
OKLaboklab(77.19% -0.0048 0.1083)
OKLCHoklch(77.19% 0.108 92.5)
XYZxyz(43.3641, 46.0476, 17.4282)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB35F #5F79CD
analogous
#CD7C5F #CDB35F #B0CD5F
triadic
#CDB35F #5FCDB3 #B35FCD
tetradic
#CDB35F #5FCD7C #5F79CD #CD5FB0
square
#CDB35F #5FCD7C #5F79CD #CD5FB0
split-complementary
#CDB35F #5FB0CD #7C5FCD
monochromatic
#87712A #B69839 #CDB35F #DCC98E #EADFBC

Accessibility & contrast

On white

2.06
#CDB35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#CDB35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB35F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB35F#FFFFFF#000000##000000
##CDB35F1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B057
Deuteranopia (green-blind)
#C9B862
Tritanopia (blue-blind)
#DBA7A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb35f;
/* rgb */ color: rgb(205, 179, 95);
/* oklch */ color: oklch(77.2% 0.108 92.5);
Tailwind
colors: {
  custom: {
    50: '#dfc98e',
    500: '#cdb35f',
    950: '#000000',
  },
}
SCSS
$custom: #cdb35f;
$custom-light: #dfc98e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb35f",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 95
  },
  "hsl": {
    "h": 45.818,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.77187,
    "c": 0.10838,
    "h": 92.5
  },
  "luminance": 0.46046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB35F

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

Preview Lab → · Contrast checker → · Palette generator →

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