#CDB34B#CDB34B

#CDB34B is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.126 H 95.2°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#CDB34B
RGBrgb(205, 179, 75)
HSLhsl(48, 57%, 55%)
HSVhsv(48, 63%, 80%)
CMYKcmyk(0%, 12.7%, 63.4%, 19.6%)
CIE-LABlab(73.37, -2.66, 55.00)
CIE-LCHlch(73.37, 55.07, 92.77°)
OKLaboklab(76.96% -0.0114 0.1256)
OKLCHoklch(76.96% 0.126 95.2)
XYZxyz(42.5689, 45.7295, 13.2397)
Luminance0.4573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB34B #4B65CD
analogous
#CD724B #CDB34B #A6CD4B
triadic
#CDB34B #4BCDB3 #B34BCD
tetradic
#CDB34B #4BCD72 #4B65CD #CD4BA6
square
#CDB34B #4BCD72 #4B65CD #CD4BA6
split-complementary
#CDB34B #4BA6CD #724BCD
monochromatic
#7B6A22 #AB9330 #CDB34B #DAC77B #E8DBAB

Accessibility & contrast

On white

2.07
#CDB34B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#CDB34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB34B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB34B#FFFFFF#000000##000000
##CDB34B1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3F
Deuteranopia (green-blind)
#CBB850
Tritanopia (blue-blind)
#DCA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb34b;
/* rgb */ color: rgb(205, 179, 75);
/* oklch */ color: oklch(77.0% 0.126 95.2);
Tailwind
colors: {
  custom: {
    50: '#dfc982',
    500: '#cdb34b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb34b;
$custom-light: #dfc982;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb34b",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 75
  },
  "hsl": {
    "h": 48,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76957,
    "c": 0.12609,
    "h": 95.2
  },
  "luminance": 0.45727
}

Semantic roles & 50–950 ramp

primary
#CDB34B
secondary
#9FA9D5
accent
#66E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB34B

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

Preview Lab → · Contrast checker → · Palette generator →

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