#D4B139#D4B139

#D4B139 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.1% C 0.139 H 92.1°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#D4B139
RGBrgb(212, 177, 57)
HSLhsl(46, 64%, 53%)
HSVhsv(46, 73%, 83%)
CMYKcmyk(0%, 16.5%, 73.1%, 16.9%)
CIE-LABlab(73.38, 0.41, 62.67)
CIE-LCHlch(73.38, 62.67, 89.62°)
OKLaboklab(77.07% -0.0051 0.1385)
OKLCHoklch(77.07% 0.139 92.1)
XYZxyz(43.6144, 45.7393, 10.4014)
Luminance0.4574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B139 #395CD4
analogous
#D46439 #D4B139 #A9D439
triadic
#D4B139 #39D4B1 #B139D4
tetradic
#D4B139 #39D464 #395CD4 #D439A9
square
#D4B139 #39D464 #395CD4 #D439A9
split-complementary
#D4B139 #39A9D4 #6439D4
monochromatic
#78631A #AB8D25 #D4B139 #DFC56B #EAD99E

Accessibility & contrast

On white

2.07
#D4B139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#D4B139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B139
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B139#FFFFFF#000000##000000
##D4B1391.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE26
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#E5A299
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d4b139;
/* rgb */ color: rgb(212, 177, 57);
/* oklch */ color: oklch(77.1% 0.139 92.1);
Tailwind
colors: {
  custom: {
    50: '#e5c777',
    500: '#d4b139',
    950: '#000000',
  },
}
SCSS
$custom: #d4b139;
$custom-light: #e5c777;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b139",
  "rgb": {
    "r": 212,
    "g": 177,
    "b": 57
  },
  "hsl": {
    "h": 46.452,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77072,
    "c": 0.13861,
    "h": 92.1
  },
  "luminance": 0.45737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4B139

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

Preview Lab → · Contrast checker → · Palette generator →

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