#CDB142#CDB142

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

Color values

HEX#CDB142
RGBrgb(205, 177, 66)
HSLhsl(48, 58%, 53%)
HSVhsv(48, 68%, 80%)
CMYKcmyk(0%, 13.7%, 67.8%, 19.6%)
CIE-LABlab(72.77, -2.15, 58.25)
CIE-LCHlch(72.77, 58.29, 92.12°)
OKLaboklab(76.46% -0.011 0.131)
OKLCHoklch(76.46% 0.132 94.8)
XYZxyz(41.8844, 44.8190, 11.5980)
Luminance0.4482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB142 #425ECD
analogous
#CD6B42 #CDB142 #A3CD42
triadic
#CDB142 #42CDB1 #B142CD
tetradic
#CDB142 #42CD6B #425ECD #CD42A3
square
#CDB142 #42CD6B #425ECD #CD42A3
split-complementary
#CDB142 #42A3CD #6B42CD
monochromatic
#76641F #A68D2C #CDB142 #DAC572 #E7D9A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB142#FFFFFF#000000##000000
##CDB1421.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)
#C3AE34
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#DDA49A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb142;
/* rgb */ color: rgb(205, 177, 66);
/* oklch */ color: oklch(76.5% 0.132 94.8);
Tailwind
colors: {
  custom: {
    50: '#e0c87c',
    500: '#cdb142',
    950: '#000000',
  },
}
SCSS
$custom: #cdb142;
$custom-light: #e0c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb142",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 47.914,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76461,
    "c": 0.1315,
    "h": 94.8
  },
  "luminance": 0.44817
}

Semantic roles & 50–950 ramp

primary
#CDB142
secondary
#97A4D3
accent
#66E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB142

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

Preview Lab → · Contrast checker → · Palette generator →

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