#D4A238#D4A238

#D4A238 is a light, vivid orange. Relative luminance 0.401; OKLCH L 74.1% C 0.132 H 82.4°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#D4A238
RGBrgb(212, 162, 56)
HSLhsl(41, 64%, 53%)
HSVhsv(41, 74%, 83%)
CMYKcmyk(0%, 23.6%, 73.6%, 16.9%)
CIE-LABlab(69.56, 8.35, 59.32)
CIE-LCHlch(69.56, 59.90, 81.99°)
OKLaboklab(74.07% 0.0176 0.1312)
OKLCHoklch(74.07% 0.132 82.4)
XYZxyz(40.7881, 40.1262, 9.3375)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A238 #386AD4
analogous
#D45438 #D4A238 #B8D438
triadic
#D4A238 #38D4A2 #A238D4
tetradic
#D4A238 #38D454 #386AD4 #D438B8
square
#D4A238 #38D454 #386AD4 #D438B8
split-complementary
#D4A238 #38B8D4 #5438D4
monochromatic
#785A1A #AA7F25 #D4A238 #DFBA6A #EAD19D

Accessibility & contrast

On white

2.33
#D4A238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#D4A238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A238
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A238#FFFFFF#000000##000000
##D4A2381.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#E6938D
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d4a238;
/* rgb */ color: rgb(212, 162, 56);
/* oklch */ color: oklch(74.1% 0.132 82.4);
Tailwind
colors: {
  custom: {
    50: '#e6bd75',
    500: '#d4a238',
    950: '#000000',
  },
}
SCSS
$custom: #d4a238;
$custom-light: #e6bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a238",
  "rgb": {
    "r": 212,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 40.769,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74066,
    "c": 0.13239,
    "h": 82.4
  },
  "luminance": 0.40123
}

Semantic roles & 50–950 ramp

primary
#D4A238
secondary
#92A8D6
accent
#76E740
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D4A238

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

Preview Lab → · Contrast checker → · Palette generator →

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