#CDB23B#CDB23B

#CDB23B is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.137 H 96.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CDB23B
RGBrgb(205, 178, 59)
HSLhsl(49, 59%, 52%)
HSVhsv(49, 71%, 80%)
CMYKcmyk(0%, 13.2%, 71.2%, 19.6%)
CIE-LABlab(72.98, -3.04, 61.29)
CIE-LCHlch(72.98, 61.36, 92.84°)
OKLaboklab(76.61% -0.0144 0.1362)
OKLCHoklch(76.61% 0.137 96)
XYZxyz(41.8888, 45.1379, 10.6429)
Luminance0.4514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB23B #3B56CD
analogous
#CD693B #CDB23B #9FCD3B
triadic
#CDB23B #3BCDB2 #B23BCD
tetradic
#CDB23B #3BCD69 #3B56CD #CD3B9F
square
#CDB23B #3BCD69 #3B56CD #CD3B9F
split-complementary
#CDB23B #3B9FCD #693BCD
monochromatic
#71611D #A28B29 #CDB23B #D9C56C #E6D89D

Accessibility & contrast

On white

2.09
#CDB23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#CDB23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB23B
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB23B#FFFFFF#000000##000000
##CDB23B1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE29
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#DDA49A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb23b;
/* rgb */ color: rgb(205, 178, 59);
/* oklch */ color: oklch(76.6% 0.137 96.0);
Tailwind
colors: {
  custom: {
    50: '#e0c878',
    500: '#cdb23b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb23b;
$custom-light: #e0c878;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb23b",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 48.904,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76611,
    "c": 0.137,
    "h": 96
  },
  "luminance": 0.45136
}

Semantic roles & 50–950 ramp

primary
#CDB23B
secondary
#929ED2
accent
#62E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB23B

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

Preview Lab → · Contrast checker → · Palette generator →

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