#CDB34A#CDB34A

#CDB34A is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.9% C 0.127 H 95.3°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#CDB34A
RGBrgb(205, 179, 74)
HSLhsl(48, 57%, 55%)
HSVhsv(48, 64%, 80%)
CMYKcmyk(0%, 12.7%, 63.9%, 19.6%)
CIE-LABlab(73.36, -2.73, 55.43)
CIE-LCHlch(73.36, 55.50, 92.82°)
OKLaboklab(76.95% -0.0117 0.1263)
OKLCHoklch(76.95% 0.127 95.3)
XYZxyz(42.5349, 45.7159, 13.0608)
Luminance0.4571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB34A #4A64CD
analogous
#CD724A #CDB34A #A5CD4A
triadic
#CDB34A #4ACDB3 #B34ACD
tetradic
#CDB34A #4ACD72 #4A64CD #CD4AA5
square
#CDB34A #4ACD72 #4A64CD #CD4AA5
split-complementary
#CDB34A #4AA5CD #724ACD
monochromatic
#7B6922 #AB922F #CDB34A #DAC77A #E7DBAA

Accessibility & contrast

On white

2.07
#CDB34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#CDB34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB34A
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB34A#FFFFFF#000000##000000
##CDB34A1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3E
Deuteranopia (green-blind)
#CBB84F
Tritanopia (blue-blind)
#DDA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb34a;
/* rgb */ color: rgb(205, 179, 74);
/* oklch */ color: oklch(76.9% 0.127 95.3);
Tailwind
colors: {
  custom: {
    50: '#dfc981',
    500: '#cdb34a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb34a;
$custom-light: #dfc981;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb34a",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 48.092,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76947,
    "c": 0.12688,
    "h": 95.3
  },
  "luminance": 0.45714
}

Semantic roles & 50–950 ramp

primary
#CDB34A
secondary
#9EA9D5
accent
#66E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB34A

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

Preview Lab → · Contrast checker → · Palette generator →

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