#CDB74A#CDB74A

#CDB74A is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.8% C 0.130 H 97.8°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#CDB74A
RGBrgb(205, 183, 74)
HSLhsl(50, 57%, 55%)
HSVhsv(50, 64%, 80%)
CMYKcmyk(0%, 10.7%, 63.9%, 19.6%)
CIE-LABlab(74.41, -4.82, 56.56)
CIE-LCHlch(74.41, 56.77, 94.87°)
OKLaboklab(77.78% -0.0177 0.1287)
OKLCHoklch(77.78% 0.13 97.8)
XYZxyz(43.3482, 47.3425, 13.3320)
Luminance0.4734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB74A #4A60CD
analogous
#CD764A #CDB74A #A1CD4A
triadic
#CDB74A #4ACDB7 #B74ACD
tetradic
#CDB74A #4ACD76 #4A60CD #CD4AA1
square
#CDB74A #4ACD76 #4A60CD #CD4AA1
split-complementary
#CDB74A #4AA1CD #764ACD
monochromatic
#7B6C22 #AB962F #CDB74A #DACA7A #E7DDAA

Accessibility & contrast

On white

2.01
#CDB74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#CDB74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB74A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB74A#FFFFFF#000000##000000
##CDB74A1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33D
Deuteranopia (green-blind)
#CEBA50
Tritanopia (blue-blind)
#DCAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb74a;
/* rgb */ color: rgb(205, 183, 74);
/* oklch */ color: oklch(77.8% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#dfcc81',
    500: '#cdb74a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb74a;
$custom-light: #dfcc81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb74a",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 49.924,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77776,
    "c": 0.12995,
    "h": 97.8
  },
  "luminance": 0.47341
}

Semantic roles & 50–950 ramp

primary
#CDB74A
secondary
#9EA7D5
accent
#61E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB74A

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

Preview Lab → · Contrast checker → · Palette generator →

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