#CDB23D#CDB23D

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

Color values

HEX#CDB23D
RGBrgb(205, 178, 61)
HSLhsl(49, 59%, 52%)
HSVhsv(49, 70%, 80%)
CMYKcmyk(0%, 13.2%, 70.2%, 19.6%)
CIE-LABlab(73.00, -2.94, 60.52)
CIE-LCHlch(73.00, 60.59, 92.79°)
OKLaboklab(76.63% -0.0139 0.135)
OKLCHoklch(76.63% 0.136 95.9)
XYZxyz(41.9416, 45.1591, 10.9214)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB23D #3D58CD
analogous
#CD6A3D #CDB23D #A0CD3D
triadic
#CDB23D #3DCDB2 #B23DCD
tetradic
#CDB23D #3DCD6A #3D58CD #CD3DA0
square
#CDB23D #3DCD6A #3D58CD #CD3DA0
split-complementary
#CDB23D #3DA0CD #6A3DCD
monochromatic
#72621D #A38C2A #CDB23D #DAC56E #E6D99E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #cdb23d;
/* rgb */ color: rgb(205, 178, 61);
/* oklch */ color: oklch(76.6% 0.136 95.9);
Tailwind
colors: {
  custom: {
    50: '#e0c879',
    500: '#cdb23d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb23d;
$custom-light: #e0c879;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb23d",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 48.75,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76626,
    "c": 0.13568,
    "h": 95.9
  },
  "luminance": 0.45157
}

Semantic roles & 50–950 ramp

primary
#CDB23D
secondary
#939FD2
accent
#63E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB23D

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

Preview Lab → · Contrast checker → · Palette generator →

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