#D2B454#D2B454

#D2B454 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.120 H 92.0°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#D2B454
RGBrgb(210, 180, 84)
HSLhsl(46, 58%, 58%)
HSVhsv(46, 60%, 82%)
CMYKcmyk(0%, 14.3%, 60%, 17.6%)
CIE-LABlab(74.18, -0.46, 51.94)
CIE-LCHlch(74.18, 51.94, 90.50°)
OKLaboklab(77.74% -0.0043 0.1201)
OKLCHoklch(77.74% 0.12 92)
XYZxyz(44.5018, 46.9865, 15.1111)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B454 #5472D2
analogous
#D27554 #D2B454 #B1D254
triadic
#D2B454 #54D2B4 #B454D2
tetradic
#D2B454 #54D275 #5472D2 #D254B1
square
#D2B454 #54D275 #5472D2 #D254B1
split-complementary
#D2B454 #54B1D2 #7554D2
monochromatic
#887024 #B89831 #D2B454 #DFC984 #EBDEB5

Accessibility & contrast

On white

2.02
#D2B454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#D2B454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B454
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B454#FFFFFF#000000##000000
##D2B4541.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14A
Deuteranopia (green-blind)
#CDBA58
Tritanopia (blue-blind)
#E2A79F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b454;
/* rgb */ color: rgb(210, 180, 84);
/* oklch */ color: oklch(77.7% 0.120 92.0);
Tailwind
colors: {
  custom: {
    50: '#e3ca87',
    500: '#d2b454',
    950: '#000000',
  },
}
SCSS
$custom: #d2b454;
$custom-light: #e3ca87;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b454",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 84
  },
  "hsl": {
    "h": 45.714,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77735,
    "c": 0.1202,
    "h": 92
  },
  "luminance": 0.46984
}

Semantic roles & 50–950 ramp

primary
#D2B454
secondary
#A8B4DA
accent
#6BE246
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B454

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

Preview Lab → · Contrast checker → · Palette generator →

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