#CDA238#CDA238

#CDA238 is a light, vivid orange. Relative luminance 0.391; OKLCH L 73.3% C 0.130 H 85.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CDA238
RGBrgb(205, 162, 56)
HSLhsl(43, 60%, 51%)
HSVhsv(43, 73%, 80%)
CMYKcmyk(0%, 21%, 72.7%, 19.6%)
CIE-LABlab(68.83, 5.31, 58.35)
CIE-LCHlch(68.83, 58.59, 84.80°)
OKLaboklab(73.33% 0.0092 0.1295)
OKLCHoklch(73.33% 0.13 85.9)
XYZxyz(38.8133, 39.1079, 9.2449)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA238 #3863CD
analogous
#CD5738 #CDA238 #ADCD38
triadic
#CDA238 #38CDA2 #A238CD
tetradic
#CDA238 #38CD57 #3863CD #CD38AD
square
#CDA238 #38CD57 #3863CD #CD38AD
split-complementary
#CDA238 #38ADCD #5738CD
monochromatic
#6F571C #A07D28 #CDA238 #D9B969 #E6D09A

Accessibility & contrast

On white

2.38
#CDA238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#CDA238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA238
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA238#FFFFFF#000000##000000
##CDA2381.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A129
Deuteranopia (green-blind)
#C0AD3D
Tritanopia (blue-blind)
#DE948D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cda238;
/* rgb */ color: rgb(205, 162, 56);
/* oklch */ color: oklch(73.3% 0.130 85.9);
Tailwind
colors: {
  custom: {
    50: '#e1bd75',
    500: '#cda238',
    950: '#000000',
  },
}
SCSS
$custom: #cda238;
$custom-light: #e1bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#cda238",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 42.685,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73327,
    "c": 0.12979,
    "h": 85.9
  },
  "luminance": 0.39105
}

Semantic roles & 50–950 ramp

primary
#CDA238
secondary
#8FA2D1
accent
#72E345
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDA238

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

Preview Lab → · Contrast checker → · Palette generator →

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