#CDB462#CDB462

#CDB462 is a light, moderate yellow. Relative luminance 0.465; OKLCH L 77.4% C 0.106 H 92.8°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CDB462
RGBrgb(205, 180, 98)
HSLhsl(46, 52%, 59%)
HSVhsv(46, 52%, 80%)
CMYKcmyk(0%, 12.2%, 52.2%, 19.6%)
CIE-LABlab(73.87, -1.46, 44.73)
CIE-LCHlch(73.87, 44.75, 91.87°)
OKLaboklab(77.43% -0.0052 0.1061)
OKLCHoklch(77.43% 0.106 92.8)
XYZxyz(43.7043, 46.5055, 18.2273)
Luminance0.4650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB462 #627BCD
analogous
#CD7F62 #CDB462 #B1CD62
triadic
#CDB462 #62CDB4 #B462CD
tetradic
#CDB462 #62CD7F #627BCD #CD62B1
square
#CDB462 #62CD7F #627BCD #CD62B1
split-complementary
#CDB462 #62B1CD #7F62CD
monochromatic
#89732C #B79A3A #CDB462 #DCCA90 #EBE0BF

Accessibility & contrast

On white

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

On black

10.30
#CDB462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB462
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB462#FFFFFF#000000##000000
##CDB4621.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B15B
Deuteranopia (green-blind)
#CAB965
Tritanopia (blue-blind)
#DBA9A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb462;
/* rgb */ color: rgb(205, 180, 98);
/* oklch */ color: oklch(77.4% 0.106 92.8);
Tailwind
colors: {
  custom: {
    50: '#deca90',
    500: '#cdb462',
    950: '#000000',
  },
}
SCSS
$custom: #cdb462;
$custom-light: #deca90;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb462",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 98
  },
  "hsl": {
    "h": 45.981,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.77432,
    "c": 0.10621,
    "h": 92.8
  },
  "luminance": 0.46503
}

Semantic roles & 50–950 ramp

primary
#CDB462
secondary
#B1BADA
accent
#6EDB4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CDB462

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

Preview Lab → · Contrast checker → · Palette generator →

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