#CDB23E#CDB23E

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

Color values

HEX#CDB23E
RGBrgb(205, 178, 62)
HSLhsl(49, 59%, 52%)
HSVhsv(49, 70%, 80%)
CMYKcmyk(0%, 13.2%, 69.8%, 19.6%)
CIE-LABlab(73.00, -2.89, 60.12)
CIE-LCHlch(73.00, 60.19, 92.75°)
OKLaboklab(76.63% -0.0136 0.1343)
OKLCHoklch(76.63% 0.135 95.8)
XYZxyz(41.9688, 45.1699, 11.0646)
Luminance0.4517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB23E #3E59CD
analogous
#CD6A3E #CDB23E #A1CD3E
triadic
#CDB23E #3ECDB2 #B23ECD
tetradic
#CDB23E #3ECD6A #3E59CD #CD3EA1
square
#CDB23E #3ECD6A #3E59CD #CD3EA1
split-complementary
#CDB23E #3EA1CD #6A3ECD
monochromatic
#73631E #A38D2A #CDB23E #DAC56F #E6D99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB23E#FFFFFF#000000##000000
##CDB23E1.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)
#C4AE2E
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#DDA49A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb23e;
/* rgb */ color: rgb(205, 178, 62);
/* oklch */ color: oklch(76.6% 0.135 95.8);
Tailwind
colors: {
  custom: {
    50: '#e0c87a',
    500: '#cdb23e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb23e;
$custom-light: #e0c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb23e",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 48.671,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76634,
    "c": 0.13501,
    "h": 95.8
  },
  "luminance": 0.45168
}

Semantic roles & 50–950 ramp

primary
#CDB23E
secondary
#94A0D3
accent
#63E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB23E

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

Preview Lab → · Contrast checker → · Palette generator →

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