#CDB74E#CDB74E

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

Color values

HEX#CDB74E
RGBrgb(205, 183, 78)
HSLhsl(50, 56%, 55%)
HSVhsv(50, 62%, 80%)
CMYKcmyk(0%, 10.7%, 62%, 19.6%)
CIE-LABlab(74.44, -4.56, 54.84)
CIE-LCHlch(74.44, 55.03, 94.76°)
OKLaboklab(77.82% -0.0165 0.1256)
OKLCHoklch(77.82% 0.127 97.5)
XYZxyz(43.4873, 47.3982, 14.0644)
Luminance0.4740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB74E #4E64CD
analogous
#CD774E #CDB74E #A4CD4E
triadic
#CDB74E #4ECDB7 #B74ECD
tetradic
#CDB74E #4ECD77 #4E64CD #CD4EA4
square
#CDB74E #4ECD77 #4E64CD #CD4EA4
split-complementary
#CDB74E #4EA4CD #774ECD
monochromatic
#7D6E23 #AD9731 #CDB74E #DACA7E #E8DEAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB74E#FFFFFF#000000##000000
##CDB74E1.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)
#C8B342
Deuteranopia (green-blind)
#CEBA53
Tritanopia (blue-blind)
#DCAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb74e;
/* rgb */ color: rgb(205, 183, 78);
/* oklch */ color: oklch(77.8% 0.127 97.5);
Tailwind
colors: {
  custom: {
    50: '#dfcc84',
    500: '#cdb74e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb74e;
$custom-light: #dfcc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb74e",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 49.606,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77816,
    "c": 0.12672,
    "h": 97.5
  },
  "luminance": 0.47396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB74E

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

Preview Lab → · Contrast checker → · Palette generator →

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