#CDA837#CDA837

#CDA837 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.5% C 0.133 H 90.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#CDA837
RGBrgb(205, 168, 55)
HSLhsl(45, 60%, 51%)
HSVhsv(45, 73%, 80%)
CMYKcmyk(0%, 18%, 73.2%, 19.6%)
CIE-LABlab(70.36, 2.05, 60.26)
CIE-LCHlch(70.36, 60.29, 88.05°)
OKLaboklab(74.53% -0.0002 0.1333)
OKLCHoklch(74.53% 0.133 90.1)
XYZxyz(39.8713, 41.2627, 9.4781)
Luminance0.4126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA837 #375CCD
analogous
#CD5D37 #CDA837 #A7CD37
triadic
#CDA837 #37CDA8 #A837CD
tetradic
#CDA837 #37CD5D #375CCD #CD37A7
square
#CDA837 #37CD5D #375CCD #CD37A7
split-complementary
#CDA837 #37A7CD #5D37CD
monochromatic
#6E5A1C #9F8228 #CDA837 #D9BD68 #E5D399

Accessibility & contrast

On white

2.27
#CDA837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#CDA837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA837
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA837#FFFFFF#000000##000000
##CDA8371.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#DE9A91
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cda837;
/* rgb */ color: rgb(205, 168, 55);
/* oklch */ color: oklch(74.5% 0.133 90.1);
Tailwind
colors: {
  custom: {
    50: '#e0c175',
    500: '#cda837',
    950: '#000000',
  },
}
SCSS
$custom: #cda837;
$custom-light: #e0c175;
$custom-dark: #000000;
JSON
{
  "hex": "#cda837",
  "rgb": {
    "r": 205,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 45.2,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7453,
    "c": 0.13331,
    "h": 90.1
  },
  "luminance": 0.4126
}

Semantic roles & 50–950 ramp

primary
#CDA837
secondary
#8F9FD1
accent
#6CE345
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDA837

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

Preview Lab → · Contrast checker → · Palette generator →

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