#CDB74B#CDB74B

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

Color values

HEX#CDB74B
RGBrgb(205, 183, 75)
HSLhsl(50, 57%, 55%)
HSVhsv(50, 63%, 80%)
CMYKcmyk(0%, 10.7%, 63.4%, 19.6%)
CIE-LABlab(74.42, -4.76, 56.14)
CIE-LCHlch(74.42, 56.34, 94.84°)
OKLaboklab(77.79% -0.0174 0.128)
OKLCHoklch(77.79% 0.129 97.8)
XYZxyz(43.3822, 47.3561, 13.5108)
Luminance0.4735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB74B #4B61CD
analogous
#CD764B #CDB74B #A2CD4B
triadic
#CDB74B #4BCDB7 #B74BCD
tetradic
#CDB74B #4BCD76 #4B61CD #CD4BA2
square
#CDB74B #4BCD76 #4B61CD #CD4BA2
split-complementary
#CDB74B #4BA2CD #764BCD
monochromatic
#7B6C22 #AB9630 #CDB74B #DACA7B #E8DDAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB74B#FFFFFF#000000##000000
##CDB74B1.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)
#C8B33E
Deuteranopia (green-blind)
#CEBA51
Tritanopia (blue-blind)
#DCAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb74b;
/* rgb */ color: rgb(205, 183, 75);
/* oklch */ color: oklch(77.8% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#dfcc82',
    500: '#cdb74b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb74b;
$custom-light: #dfcc82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb74b",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 49.846,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77786,
    "c": 0.12915,
    "h": 97.8
  },
  "luminance": 0.47354
}

Semantic roles & 50–950 ramp

primary
#CDB74B
secondary
#9FA8D5
accent
#62E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB74B

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

Preview Lab → · Contrast checker → · Palette generator →

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