#CDBA4E#CDBA4E

#CDBA4E is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.129 H 99.4°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#CDBA4E
RGBrgb(205, 186, 78)
HSLhsl(51, 56%, 55%)
HSVhsv(51, 62%, 80%)
CMYKcmyk(0%, 9.3%, 62%, 19.6%)
CIE-LABlab(75.23, -6.12, 55.70)
CIE-LCHlch(75.23, 56.04, 96.27°)
OKLaboklab(78.44% -0.021 0.1275)
OKLCHoklch(78.44% 0.129 99.4)
XYZxyz(44.1127, 48.6489, 14.2728)
Luminance0.4865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA4E #4E61CD
analogous
#CD7B4E #CDBA4E #A0CD4E
triadic
#CDBA4E #4ECDBA #BA4ECD
tetradic
#CDBA4E #4ECD7B #4E61CD #CD4EA0
square
#CDBA4E #4ECD7B #4E61CD #CD4EA0
split-complementary
#CDBA4E #4EA0CD #7B4ECD
monochromatic
#7D7023 #AD9A31 #CDBA4E #DACD7E #E8DFAD

Accessibility & contrast

On white

1.96
#CDBA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#CDBA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA4E
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA4E#FFFFFF#000000##000000
##CDBA4E1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB542
Deuteranopia (green-blind)
#D0BC54
Tritanopia (blue-blind)
#DCADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba4e;
/* rgb */ color: rgb(205, 186, 78);
/* oklch */ color: oklch(78.4% 0.129 99.4);
Tailwind
colors: {
  custom: {
    50: '#dfce84',
    500: '#cdba4e',
    950: '#000000',
  },
}
SCSS
$custom: #cdba4e;
$custom-light: #dfce84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba4e",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 51.024,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7844,
    "c": 0.1292,
    "h": 99.4
  },
  "luminance": 0.48647
}

Semantic roles & 50–950 ramp

primary
#CDBA4E
secondary
#A1A9D6
accent
#5FDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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