#D4B239#D4B239

#D4B239 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.3% C 0.139 H 92.7°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#D4B239
RGBrgb(212, 178, 57)
HSLhsl(47, 64%, 53%)
HSVhsv(47, 73%, 83%)
CMYKcmyk(0%, 16%, 73.1%, 16.9%)
CIE-LABlab(73.63, -0.11, 62.92)
CIE-LCHlch(73.63, 62.92, 90.10°)
OKLaboklab(77.28% -0.0066 0.1391)
OKLCHoklch(77.28% 0.139 92.7)
XYZxyz(43.8127, 46.1358, 10.4675)
Luminance0.4613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B239 #395BD4
analogous
#D46539 #D4B239 #A8D439
triadic
#D4B239 #39D4B2 #B239D4
tetradic
#D4B239 #39D465 #395BD4 #D439A8
square
#D4B239 #39D465 #395BD4 #D439A8
split-complementary
#D4B239 #39A8D4 #6539D4
monochromatic
#78641A #AB8D25 #D4B239 #DFC66B #EAD99E

Accessibility & contrast

On white

2.05
#D4B239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#D4B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B239
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B239#FFFFFF#000000##000000
##D4B2391.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF26
Deuteranopia (green-blind)
#CEB940
Tritanopia (blue-blind)
#E5A49A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d4b239;
/* rgb */ color: rgb(212, 178, 57);
/* oklch */ color: oklch(77.3% 0.139 92.7);
Tailwind
colors: {
  custom: {
    50: '#e5c877',
    500: '#d4b239',
    950: '#000000',
  },
}
SCSS
$custom: #d4b239;
$custom-light: #e5c877;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b239",
  "rgb": {
    "r": 212,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 46.839,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77276,
    "c": 0.13921,
    "h": 92.7
  },
  "luminance": 0.46133
}

Semantic roles & 50–950 ramp

primary
#D4B239
secondary
#93A2D6
accent
#65E740
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D4B239

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

Preview Lab → · Contrast checker → · Palette generator →

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