#CDB140#CDB140

#CDB140 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.133 H 95.0°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#CDB140
RGBrgb(205, 177, 64)
HSLhsl(48, 59%, 53%)
HSVhsv(48, 69%, 80%)
CMYKcmyk(0%, 13.7%, 68.8%, 19.6%)
CIE-LABlab(72.76, -2.26, 59.06)
CIE-LCHlch(72.76, 59.11, 92.19°)
OKLaboklab(76.44% -0.0116 0.1324)
OKLCHoklch(76.44% 0.133 95)
XYZxyz(41.8265, 44.7958, 11.2928)
Luminance0.4479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB140 #405CCD
analogous
#CD6A40 #CDB140 #A2CD40
triadic
#CDB140 #40CDB1 #B140CD
tetradic
#CDB140 #40CD6A #405CCD #CD40A2
square
#CDB140 #40CD6A #405CCD #CD40A2
split-complementary
#CDB140 #40A2CD #6A40CD
monochromatic
#74631E #A58D2B #CDB140 #DAC571 #E6D9A1

Accessibility & contrast

On white

2.11
#CDB140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#CDB140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB140
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB140#FFFFFF#000000##000000
##CDB1401.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE31
Deuteranopia (green-blind)
#CAB646
Tritanopia (blue-blind)
#DDA49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb140;
/* rgb */ color: rgb(205, 177, 64);
/* oklch */ color: oklch(76.4% 0.133 95.0);
Tailwind
colors: {
  custom: {
    50: '#e0c87b',
    500: '#cdb140',
    950: '#000000',
  },
}
SCSS
$custom: #cdb140;
$custom-light: #e0c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb140",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 48.085,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76444,
    "c": 0.13292,
    "h": 95
  },
  "luminance": 0.44794
}

Semantic roles & 50–950 ramp

primary
#CDB140
secondary
#96A2D3
accent
#65E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB140

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

Preview Lab → · Contrast checker → · Palette generator →

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