#CDB74F#CDB74F

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

Color values

HEX#CDB74F
RGBrgb(205, 183, 79)
HSLhsl(50, 56%, 56%)
HSVhsv(50, 61%, 80%)
CMYKcmyk(0%, 10.7%, 61.5%, 19.6%)
CIE-LABlab(74.45, -4.50, 54.40)
CIE-LCHlch(74.45, 54.59, 94.72°)
OKLaboklab(77.83% -0.0162 0.1249)
OKLCHoklch(77.83% 0.126 97.4)
XYZxyz(43.5234, 47.4126, 14.2546)
Luminance0.4741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB74F #4F65CD
analogous
#CD784F #CDB74F #A4CD4F
triadic
#CDB74F #4FCDB7 #B74FCD
tetradic
#CDB74F #4FCD78 #4F65CD #CD4FA4
square
#CDB74F #4FCD78 #4F65CD #CD4FA4
split-complementary
#CDB74F #4FA4CD #784FCD
monochromatic
#7E6E24 #AE9831 #CDB74F #DBCA7F #E8DEAE

Accessibility & contrast

On white

2.00
#CDB74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#CDB74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB74F
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB74F#FFFFFF#000000##000000
##CDB74F1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B344
Deuteranopia (green-blind)
#CEBA54
Tritanopia (blue-blind)
#DCAAA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb74f;
/* rgb */ color: rgb(205, 183, 79);
/* oklch */ color: oklch(77.8% 0.126 97.4);
Tailwind
colors: {
  custom: {
    50: '#dfcc84',
    500: '#cdb74f',
    950: '#000000',
  },
}
SCSS
$custom: #cdb74f;
$custom-light: #dfcc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb74f",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 79
  },
  "hsl": {
    "h": 49.524,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77826,
    "c": 0.1259,
    "h": 97.4
  },
  "luminance": 0.47411
}

Semantic roles & 50–950 ramp

primary
#CDB74F
secondary
#A2ABD6
accent
#63DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB74F

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

Preview Lab → · Contrast checker → · Palette generator →

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