#CDB04F#CDB04F

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

Color values

HEX#CDB04F
RGBrgb(205, 176, 79)
HSLhsl(46, 56%, 56%)
HSVhsv(46, 61%, 80%)
CMYKcmyk(0%, 14.1%, 61.5%, 19.6%)
CIE-LABlab(72.63, -0.82, 52.38)
CIE-LCHlch(72.63, 52.38, 90.90°)
OKLaboklab(76.38% -0.0056 0.1205)
OKLCHoklch(76.38% 0.121 92.7)
XYZxyz(42.1154, 44.5965, 13.7853)
Luminance0.4459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB04F #4F6CCD
analogous
#CD714F #CDB04F #ABCD4F
triadic
#CDB04F #4FCDB0 #B04FCD
tetradic
#CDB04F #4FCD71 #4F6CCD #CD4FAB
square
#CDB04F #4FCD71 #4F6CCD #CD4FAB
split-complementary
#CDB04F #4FABCD #714FCD
monochromatic
#7E6924 #AE9131 #CDB04F #DBC57F #E8DBAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB04F#FFFFFF#000000##000000
##CDB04F1.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)
#C1AD45
Deuteranopia (green-blind)
#C8B653
Tritanopia (blue-blind)
#DCA39B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb04f;
/* rgb */ color: rgb(205, 176, 79);
/* oklch */ color: oklch(76.4% 0.121 92.7);
Tailwind
colors: {
  custom: {
    50: '#dfc784',
    500: '#cdb04f',
    950: '#000000',
  },
}
SCSS
$custom: #cdb04f;
$custom-light: #dfc784;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb04f",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 46.19,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76381,
    "c": 0.12066,
    "h": 92.7
  },
  "luminance": 0.44594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB04F

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

Preview Lab → · Contrast checker → · Palette generator →

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