#CDB241#CDB241

#CDB241 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.7% C 0.133 H 95.5°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CDB241
RGBrgb(205, 178, 65)
HSLhsl(48, 58%, 53%)
HSVhsv(48, 68%, 80%)
CMYKcmyk(0%, 13.2%, 68.3%, 19.6%)
CIE-LABlab(73.03, -2.73, 58.93)
CIE-LCHlch(73.03, 58.99, 92.66°)
OKLaboklab(76.66% -0.0128 0.1323)
OKLCHoklch(76.66% 0.133 95.5)
XYZxyz(42.0534, 45.2038, 11.5101)
Luminance0.4520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB241 #415CCD
analogous
#CD6C41 #CDB241 #A2CD41
triadic
#CDB241 #41CDB2 #B241CD
tetradic
#CDB241 #41CD6C #415CCD #CD41A2
square
#CDB241 #41CD6C #415CCD #CD41A2
split-complementary
#CDB241 #41A2CD #6C41CD
monochromatic
#75641F #A58E2C #CDB241 #DAC671 #E6D9A2

Accessibility & contrast

On white

2.09
#CDB241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#CDB241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB241
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB241#FFFFFF#000000##000000
##CDB2411.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE32
Deuteranopia (green-blind)
#CBB747
Tritanopia (blue-blind)
#DDA59B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb241;
/* rgb */ color: rgb(205, 178, 65);
/* oklch */ color: oklch(76.7% 0.133 95.5);
Tailwind
colors: {
  custom: {
    50: '#e0c87c',
    500: '#cdb241',
    950: '#000000',
  },
}
SCSS
$custom: #cdb241;
$custom-light: #e0c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb241",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 48.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76659,
    "c": 0.13292,
    "h": 95.5
  },
  "luminance": 0.45202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB241

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

Preview Lab → · Contrast checker → · Palette generator →

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