#CDB23A#CDB23A

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

Color values

HEX#CDB23A
RGBrgb(205, 178, 58)
HSLhsl(49, 60%, 52%)
HSVhsv(49, 72%, 80%)
CMYKcmyk(0%, 13.2%, 71.7%, 19.6%)
CIE-LABlab(72.98, -3.09, 61.67)
CIE-LCHlch(72.98, 61.75, 92.87°)
OKLaboklab(76.6% -0.0146 0.1369)
OKLCHoklch(76.6% 0.138 96.1)
XYZxyz(41.8631, 45.1276, 10.5076)
Luminance0.4512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB23A #3A55CD
analogous
#CD693A #CDB23A #9ECD3A
triadic
#CDB23A #3ACDB2 #B23ACD
tetradic
#CDB23A #3ACD69 #3A55CD #CD3A9E
square
#CDB23A #3ACD69 #3A55CD #CD3A9E
split-complementary
#CDB23A #3A9ECD #693ACD
monochromatic
#70611C #A18B29 #CDB23A #D9C56B #E6D89C

Accessibility & contrast

On white

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

On black

10.02
#CDB23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB23A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB23A#FFFFFF#000000##000000
##CDB23A1.002.0910.0210.02
#FFFFFF2.091.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb23a;
/* rgb */ color: rgb(205, 178, 58);
/* oklch */ color: oklch(76.6% 0.138 96.1);
Tailwind
colors: {
  custom: {
    50: '#e0c878',
    500: '#cdb23a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb23a;
$custom-light: #e0c878;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb23a",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 48.98,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76603,
    "c": 0.13764,
    "h": 96.1
  },
  "luminance": 0.45125
}

Semantic roles & 50–950 ramp

primary
#CDB23A
secondary
#919DD2
accent
#62E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB23A

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

Preview Lab → · Contrast checker → · Palette generator →

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