#CDB341#CDB341

#CDB341 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.134 H 96.1°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CDB341
RGBrgb(205, 179, 65)
HSLhsl(49, 58%, 53%)
HSVhsv(49, 68%, 80%)
CMYKcmyk(0%, 12.7%, 68.3%, 19.6%)
CIE-LABlab(73.29, -3.26, 59.20)
CIE-LCHlch(73.29, 59.28, 93.15°)
OKLaboklab(76.87% -0.0143 0.1329)
OKLCHoklch(76.87% 0.134 96.1)
XYZxyz(42.2531, 45.6032, 11.5767)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB341 #415BCD
analogous
#CD6D41 #CDB341 #A1CD41
triadic
#CDB341 #41CDB3 #B341CD
tetradic
#CDB341 #41CD6D #415BCD #CD41A1
square
#CDB341 #41CD6D #415BCD #CD41A1
split-complementary
#CDB341 #41A1CD #6D41CD
monochromatic
#75651F #A58F2C #CDB341 #DAC671 #E6DAA2

Accessibility & contrast

On white

2.08
#CDB341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#CDB341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB341
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB341#FFFFFF#000000##000000
##CDB3411.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF32
Deuteranopia (green-blind)
#CBB847
Tritanopia (blue-blind)
#DDA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb341;
/* rgb */ color: rgb(205, 179, 65);
/* oklch */ color: oklch(76.9% 0.134 96.1);
Tailwind
colors: {
  custom: {
    50: '#e0c97c',
    500: '#cdb341',
    950: '#000000',
  },
}
SCSS
$custom: #cdb341;
$custom-light: #e0c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb341",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 48.857,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76865,
    "c": 0.13364,
    "h": 96.1
  },
  "luminance": 0.45601
}

Semantic roles & 50–950 ramp

primary
#CDB341
secondary
#97A2D3
accent
#63E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB341

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

Preview Lab → · Contrast checker → · Palette generator →

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