#CDB658#CDB658

#CDB658 is a light, moderate yellow. Relative luminance 0.471; OKLCH L 77.7% C 0.117 H 95.8°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#CDB658
RGBrgb(205, 182, 88)
HSLhsl(48, 54%, 57%)
HSVhsv(48, 57%, 80%)
CMYKcmyk(0%, 11.2%, 57.1%, 19.6%)
CIE-LABlab(74.28, -3.32, 50.05)
CIE-LCHlch(74.28, 50.16, 93.80°)
OKLaboklab(77.72% -0.0118 0.1167)
OKLCHoklch(77.72% 0.117 95.8)
XYZxyz(43.6680, 47.1416, 16.0297)
Luminance0.4714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB658 #586FCD
analogous
#CD7B58 #CDB658 #AACD58
triadic
#CDB658 #58CDB6 #B658CD
tetradic
#CDB658 #58CD7B #586FCD #CD58AA
square
#CDB658 #58CD7B #586FCD #CD58AA
split-complementary
#CDB658 #58AACD #7B58CD
monochromatic
#837127 #B29A35 #CDB658 #DBCB87 #E9DFB6

Accessibility & contrast

On white

2.01
#CDB658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#CDB658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB658
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB658#FFFFFF#000000##000000
##CDB6581.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24F
Deuteranopia (green-blind)
#CCBA5C
Tritanopia (blue-blind)
#DCAAA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb658;
/* rgb */ color: rgb(205, 182, 88);
/* oklch */ color: oklch(77.7% 0.117 95.8);
Tailwind
colors: {
  custom: {
    50: '#dfcb8a',
    500: '#cdb658',
    950: '#000000',
  },
}
SCSS
$custom: #cdb658;
$custom-light: #dfcb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb658",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 88
  },
  "hsl": {
    "h": 48.205,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77718,
    "c": 0.11725,
    "h": 95.8
  },
  "luminance": 0.4714
}

Semantic roles & 50–950 ramp

primary
#CDB658
secondary
#A9B2D8
accent
#67DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB658

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

Preview Lab → · Contrast checker → · Palette generator →

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