#CDB75B#CDB75B

#CDB75B is a light, moderate yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.115 H 96.1°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#CDB75B
RGBrgb(205, 183, 91)
HSLhsl(48, 53%, 58%)
HSVhsv(48, 56%, 80%)
CMYKcmyk(0%, 10.7%, 55.6%, 19.6%)
CIE-LABlab(74.57, -3.62, 48.96)
CIE-LCHlch(74.57, 49.10, 94.22°)
OKLaboklab(77.96% -0.0123 0.1146)
OKLCHoklch(77.96% 0.115 96.1)
XYZxyz(44.0003, 47.6034, 16.7662)
Luminance0.4760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB75B #5B71CD
analogous
#CD7E5B #CDB75B #AACD5B
triadic
#CDB75B #5BCDB7 #B75BCD
tetradic
#CDB75B #5BCD7E #5B71CD #CD5BAA
square
#CDB75B #5BCD7E #5B71CD #CD5BAA
split-complementary
#CDB75B #5BAACD #7E5BCD
monochromatic
#857329 #B49C37 #CDB75B #DBCC8A #EAE0B9

Accessibility & contrast

On white

2.00
#CDB75B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#CDB75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB75B
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB75B#FFFFFF#000000##000000
##CDB75B1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B352
Deuteranopia (green-blind)
#CDBB5F
Tritanopia (blue-blind)
#DBABA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb75b;
/* rgb */ color: rgb(205, 183, 91);
/* oklch */ color: oklch(78.0% 0.115 96.1);
Tailwind
colors: {
  custom: {
    50: '#dfcc8c',
    500: '#cdb75b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb75b;
$custom-light: #dfcc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb75b",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 91
  },
  "hsl": {
    "h": 48.421,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.77961,
    "c": 0.11529,
    "h": 96.1
  },
  "luminance": 0.47601
}

Semantic roles & 50–950 ramp

primary
#CDB75B
secondary
#ABB4D9
accent
#67DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDB75B

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

Preview Lab → · Contrast checker → · Palette generator →

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