#CDB458#CDB458

#CDB458 is a light, moderate yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.116 H 94.3°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#CDB458
RGBrgb(205, 180, 88)
HSLhsl(47, 54%, 57%)
HSVhsv(47, 57%, 80%)
CMYKcmyk(0%, 12.2%, 57.1%, 19.6%)
CIE-LABlab(73.76, -2.28, 49.45)
CIE-LCHlch(73.76, 49.50, 92.63°)
OKLaboklab(77.31% -0.0088 0.1154)
OKLCHoklch(77.31% 0.116 94.3)
XYZxyz(43.2613, 46.3283, 15.8941)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB458 #5871CD
analogous
#CD7958 #CDB458 #ACCD58
triadic
#CDB458 #58CDB4 #B458CD
tetradic
#CDB458 #58CD79 #5871CD #CD58AC
square
#CDB458 #58CD79 #5871CD #CD58AC
split-complementary
#CDB458 #58ACCD #7958CD
monochromatic
#837027 #B29835 #CDB458 #DBC987 #E9DEB6

Accessibility & contrast

On white

2.05
#CDB458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#CDB458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB458
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB458#FFFFFF#000000##000000
##CDB4581.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B14F
Deuteranopia (green-blind)
#CBB95C
Tritanopia (blue-blind)
#DCA89F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb458;
/* rgb */ color: rgb(205, 180, 88);
/* oklch */ color: oklch(77.3% 0.116 94.3);
Tailwind
colors: {
  custom: {
    50: '#dfca8a',
    500: '#cdb458',
    950: '#000000',
  },
}
SCSS
$custom: #cdb458;
$custom-light: #dfca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb458",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 88
  },
  "hsl": {
    "h": 47.179,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77305,
    "c": 0.11569,
    "h": 94.3
  },
  "luminance": 0.46326
}

Semantic roles & 50–950 ramp

primary
#CDB458
secondary
#A9B3D8
accent
#6ADD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB458

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

Preview Lab → · Contrast checker → · Palette generator →

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