#CDB258#CDB258

#CDB258 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.114 H 92.9°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CDB258
RGBrgb(205, 178, 88)
HSLhsl(46, 54%, 57%)
HSVhsv(46, 57%, 80%)
CMYKcmyk(0%, 13.2%, 57.1%, 19.6%)
CIE-LABlab(73.24, -1.22, 48.85)
CIE-LCHlch(73.24, 48.86, 91.43°)
OKLaboklab(76.89% -0.0057 0.1141)
OKLCHoklch(76.89% 0.114 92.9)
XYZxyz(42.8605, 45.5266, 15.7605)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB258 #5873CD
analogous
#CD7858 #CDB258 #ADCD58
triadic
#CDB258 #58CDB2 #B258CD
tetradic
#CDB258 #58CD78 #5873CD #CD58AD
square
#CDB258 #58CD78 #5873CD #CD58AD
split-complementary
#CDB258 #58ADCD #7858CD
monochromatic
#836E27 #B29635 #CDB258 #DBC887 #E9DDB6

Accessibility & contrast

On white

2.08
#CDB258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CDB258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB258
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB258#FFFFFF#000000##000000
##CDB2581.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4F
Deuteranopia (green-blind)
#C9B75C
Tritanopia (blue-blind)
#DCA69E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb258;
/* rgb */ color: rgb(205, 178, 88);
/* oklch */ color: oklch(76.9% 0.114 92.9);
Tailwind
colors: {
  custom: {
    50: '#dfc88a',
    500: '#cdb258',
    950: '#000000',
  },
}
SCSS
$custom: #cdb258;
$custom-light: #dfc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb258",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 46.154,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.76894,
    "c": 0.1142,
    "h": 92.9
  },
  "luminance": 0.45525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB258

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

Preview Lab → · Contrast checker → · Palette generator →

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