#CDB858#CDB858

#CDB858 is a light, moderate yellow. Relative luminance 0.480; OKLCH L 78.1% C 0.119 H 97.2°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CDB858
RGBrgb(205, 184, 88)
HSLhsl(49, 54%, 57%)
HSVhsv(49, 57%, 80%)
CMYKcmyk(0%, 10.2%, 57.1%, 19.6%)
CIE-LABlab(74.80, -4.37, 50.65)
CIE-LCHlch(74.80, 50.84, 94.93°)
OKLaboklab(78.13% -0.0148 0.118)
OKLCHoklch(78.13% 0.119 97.2)
XYZxyz(44.0805, 47.9666, 16.1672)
Luminance0.4797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB858 #586DCD
analogous
#CD7E58 #CDB858 #A7CD58
triadic
#CDB858 #58CDB8 #B858CD
tetradic
#CDB858 #58CD7E #586DCD #CD58A7
square
#CDB858 #58CD7E #586DCD #CD58A7
split-complementary
#CDB858 #58A7CD #7E58CD
monochromatic
#837327 #B29C35 #CDB858 #DBCC87 #E9E0B6

Accessibility & contrast

On white

1.98
#CDB858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CDB858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB858
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB858#FFFFFF#000000##000000
##CDB8581.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44F
Deuteranopia (green-blind)
#CEBB5C
Tritanopia (blue-blind)
#DCACA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb858;
/* rgb */ color: rgb(205, 184, 88);
/* oklch */ color: oklch(78.1% 0.119 97.2);
Tailwind
colors: {
  custom: {
    50: '#dfcd8a',
    500: '#cdb858',
    950: '#000000',
  },
}
SCSS
$custom: #cdb858;
$custom-light: #dfcd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb858",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 88
  },
  "hsl": {
    "h": 49.231,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78132,
    "c": 0.11887,
    "h": 97.2
  },
  "luminance": 0.47965
}

Semantic roles & 50–950 ramp

primary
#CDB858
secondary
#A9B1D8
accent
#65DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB858

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

Preview Lab → · Contrast checker → · Palette generator →

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