#CDB04E#CDB04E

#CDB04E is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.121 H 92.8°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CDB04E
RGBrgb(205, 176, 78)
HSLhsl(46, 56%, 55%)
HSVhsv(46, 62%, 80%)
CMYKcmyk(0%, 14.1%, 62%, 19.6%)
CIE-LABlab(72.62, -0.89, 52.82)
CIE-LCHlch(72.62, 52.83, 90.96°)
OKLaboklab(76.37% -0.006 0.1214)
OKLCHoklch(76.37% 0.122 92.8)
XYZxyz(42.0792, 44.5820, 13.5950)
Luminance0.4458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB04E #4E6BCD
analogous
#CD704E #CDB04E #ABCD4E
triadic
#CDB04E #4ECDB0 #B04ECD
tetradic
#CDB04E #4ECD70 #4E6BCD #CD4EAB
square
#CDB04E #4ECD70 #4E6BCD #CD4EAB
split-complementary
#CDB04E #4EABCD #704ECD
monochromatic
#7D6923 #AD9131 #CDB04E #DAC57E #E8DBAD

Accessibility & contrast

On white

2.12
#CDB04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CDB04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB04E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB04E#FFFFFF#000000##000000
##CDB04E1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD43
Deuteranopia (green-blind)
#C8B652
Tritanopia (blue-blind)
#DDA39B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb04e;
/* rgb */ color: rgb(205, 176, 78);
/* oklch */ color: oklch(76.4% 0.121 92.8);
Tailwind
colors: {
  custom: {
    50: '#dfc783',
    500: '#cdb04e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb04e;
$custom-light: #dfc783;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb04e",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 78
  },
  "hsl": {
    "h": 46.299,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7637,
    "c": 0.1215,
    "h": 92.8
  },
  "luminance": 0.4458
}

Semantic roles & 50–950 ramp

primary
#CDB04E
secondary
#A1ADD6
accent
#6BDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB04E

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

Preview Lab → · Contrast checker → · Palette generator →

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