#CDB83F#CDB83F

#CDB83F is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.9% C 0.139 H 99.2°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#CDB83F
RGBrgb(205, 184, 63)
HSLhsl(51, 59%, 53%)
HSVhsv(51, 69%, 80%)
CMYKcmyk(0%, 10.2%, 69.3%, 19.6%)
CIE-LABlab(74.59, -5.97, 61.32)
CIE-LCHlch(74.59, 61.61, 95.56°)
OKLaboklab(77.89% -0.0223 0.137)
OKLCHoklch(77.89% 0.139 99.2)
XYZxyz(43.2165, 47.6210, 11.6171)
Luminance0.4762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB83F #3F54CD
analogous
#CD713F #CDB83F #9BCD3F
triadic
#CDB83F #3FCDB8 #B83FCD
tetradic
#CDB83F #3FCD71 #3F54CD #CD3F9B
square
#CDB83F #3FCD71 #3F54CD #CD3F9B
split-complementary
#CDB83F #3F9BCD #713FCD
monochromatic
#74671E #A4922B #CDB83F #DACA70 #E6DCA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB83F#FFFFFF#000000##000000
##CDB83F1.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)
#C9B32E
Deuteranopia (green-blind)
#CFBB46
Tritanopia (blue-blind)
#DDABA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb83f;
/* rgb */ color: rgb(205, 184, 63);
/* oklch */ color: oklch(77.9% 0.139 99.2);
Tailwind
colors: {
  custom: {
    50: '#e0cd7b',
    500: '#cdb83f',
    950: '#000000',
  },
}
SCSS
$custom: #cdb83f;
$custom-light: #e0cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb83f",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 63
  },
  "hsl": {
    "h": 51.127,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77889,
    "c": 0.13883,
    "h": 99.2
  },
  "luminance": 0.47619
}

Semantic roles & 50–950 ramp

primary
#CDB83F
secondary
#959ED3
accent
#5DE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB83F

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

Preview Lab → · Contrast checker → · Palette generator →

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