#CDB239#CDB239

#CDB239 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.138 H 96.2°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#CDB239
RGBrgb(205, 178, 57)
HSLhsl(49, 60%, 51%)
HSVhsv(49, 72%, 80%)
CMYKcmyk(0%, 13.2%, 72.2%, 19.6%)
CIE-LABlab(72.97, -3.14, 62.05)
CIE-LCHlch(72.97, 62.13, 92.90°)
OKLaboklab(76.6% -0.0149 0.1375)
OKLCHoklch(76.6% 0.138 96.2)
XYZxyz(41.8379, 45.1176, 10.3750)
Luminance0.4511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB239 #3954CD
analogous
#CD6839 #CDB239 #9ECD39
triadic
#CDB239 #39CDB2 #B239CD
tetradic
#CDB239 #39CD68 #3954CD #CD399E
square
#CDB239 #39CD68 #3954CD #CD399E
split-complementary
#CDB239 #399ECD #6839CD
monochromatic
#6F601C #A08A28 #CDB239 #D9C56A #E6D89B

Accessibility & contrast

On white

2.10
#CDB239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#CDB239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB239
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB239#FFFFFF#000000##000000
##CDB2391.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE26
Deuteranopia (green-blind)
#CBB740
Tritanopia (blue-blind)
#DDA49A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb239;
/* rgb */ color: rgb(205, 178, 57);
/* oklch */ color: oklch(76.6% 0.138 96.2);
Tailwind
colors: {
  custom: {
    50: '#e0c877',
    500: '#cdb239',
    950: '#000000',
  },
}
SCSS
$custom: #cdb239;
$custom-light: #e0c877;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb239",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 49.054,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76596,
    "c": 0.13828,
    "h": 96.2
  },
  "luminance": 0.45115
}

Semantic roles & 50–950 ramp

primary
#CDB239
secondary
#909CD2
accent
#62E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB239

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

Preview Lab → · Contrast checker → · Palette generator →

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