#CDB058#CDB058

#CDB058 is a light, moderate yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.113 H 91.3°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CDB058
RGBrgb(205, 176, 88)
HSLhsl(45, 54%, 57%)
HSVhsv(45, 57%, 80%)
CMYKcmyk(0%, 14.1%, 57.1%, 19.6%)
CIE-LABlab(72.72, -0.17, 48.24)
CIE-LCHlch(72.72, 48.24, 90.20°)
OKLaboklab(76.48% -0.0026 0.1128)
OKLCHoklch(76.48% 0.113 91.3)
XYZxyz(42.4654, 44.7365, 15.6289)
Luminance0.4473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB058 #5875CD
analogous
#CD7558 #CDB058 #B0CD58
triadic
#CDB058 #58CDB0 #B058CD
tetradic
#CDB058 #58CD75 #5875CD #CD58B0
square
#CDB058 #58CD75 #5875CD #CD58B0
split-complementary
#CDB058 #58B0CD #7558CD
monochromatic
#836C27 #B29335 #CDB058 #DBC687 #E9DDB6

Accessibility & contrast

On white

2.11
#CDB058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#CDB058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB058
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB058#FFFFFF#000000##000000
##CDB0581.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE50
Deuteranopia (green-blind)
#C8B65C
Tritanopia (blue-blind)
#DCA49C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb058;
/* rgb */ color: rgb(205, 176, 88);
/* oklch */ color: oklch(76.5% 0.113 91.3);
Tailwind
colors: {
  custom: {
    50: '#dfc78a',
    500: '#cdb058',
    950: '#000000',
  },
}
SCSS
$custom: #cdb058;
$custom-light: #dfc78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb058",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 88
  },
  "hsl": {
    "h": 45.128,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.76484,
    "c": 0.11279,
    "h": 91.3
  },
  "luminance": 0.44734
}

Semantic roles & 50–950 ramp

primary
#CDB058
secondary
#A9B4D8
accent
#6FDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB058

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

Preview Lab → · Contrast checker → · Palette generator →

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