#CDA138#CDA138

#CDA138 is a light, vivid orange. Relative luminance 0.388; OKLCH L 73.1% C 0.129 H 85.2°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#CDA138
RGBrgb(205, 161, 56)
HSLhsl(42, 60%, 51%)
HSVhsv(42, 73%, 80%)
CMYKcmyk(0%, 21.5%, 72.7%, 19.6%)
CIE-LABlab(68.57, 5.85, 58.10)
CIE-LCHlch(68.57, 58.39, 84.25°)
OKLaboklab(73.13% 0.0108 0.1289)
OKLCHoklch(73.13% 0.129 85.2)
XYZxyz(38.6379, 38.7570, 9.1864)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA138 #3864CD
analogous
#CD5638 #CDA138 #AECD38
triadic
#CDA138 #38CDA1 #A138CD
tetradic
#CDA138 #38CD56 #3864CD #CD38AE
square
#CDA138 #38CD56 #3864CD #CD38AE
split-complementary
#CDA138 #38AECD #5638CD
monochromatic
#6F561C #A07C28 #CDA138 #D9B869 #E6CF9A

Accessibility & contrast

On white

2.40
#CDA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#CDA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA138
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA138#FFFFFF#000000##000000
##CDA1381.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A129
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#DE938C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cda138;
/* rgb */ color: rgb(205, 161, 56);
/* oklch */ color: oklch(73.1% 0.129 85.2);
Tailwind
colors: {
  custom: {
    50: '#e1bc75',
    500: '#cda138',
    950: '#000000',
  },
}
SCSS
$custom: #cda138;
$custom-light: #e1bc75;
$custom-dark: #000000;
JSON
{
  "hex": "#cda138",
  "rgb": {
    "r": 205,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 42.282,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73127,
    "c": 0.12937,
    "h": 85.2
  },
  "luminance": 0.38754
}

Semantic roles & 50–950 ramp

primary
#CDA138
secondary
#8FA3D1
accent
#74E345
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDA138

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

Preview Lab → · Contrast checker → · Palette generator →

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