#D7BE54#D7BE54

#D7BE54 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.3% C 0.128 H 96.1°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#D7BE54
RGBrgb(215, 190, 84)
HSLhsl(49, 62%, 59%)
HSVhsv(49, 61%, 84%)
CMYKcmyk(0%, 11.6%, 60.9%, 15.7%)
CIE-LABlab(77.23, -3.57, 55.48)
CIE-LCHlch(77.23, 55.59, 93.69°)
OKLaboklab(80.25% -0.0136 0.1276)
OKLCHoklch(80.25% 0.128 96.1)
XYZxyz(48.0401, 51.9163, 15.8762)
Luminance0.5191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BE54 #546DD7
analogous
#D77C54 #D7BE54 #AED754
triadic
#D7BE54 #54D7BE #BE54D7
tetradic
#D7BE54 #54D77C #546DD7 #D754AE
square
#D7BE54 #54D77C #546DD7 #D754AE
split-complementary
#D7BE54 #54AED7 #7C54D7
monochromatic
#8F7A21 #C1A52D #D7BE54 #E3D186 #EEE4B7

Accessibility & contrast

On white

1.84
#D7BE54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#D7BE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BE54
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BE54#FFFFFF#000000##000000
##D7BE541.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA49
Deuteranopia (green-blind)
#D6C259
Tritanopia (blue-blind)
#E7B1A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7be54;
/* rgb */ color: rgb(215, 190, 84);
/* oklch */ color: oklch(80.3% 0.128 96.1);
Tailwind
colors: {
  custom: {
    50: '#e6d188',
    500: '#d7be54',
    950: '#000000',
  },
}
SCSS
$custom: #d7be54;
$custom-light: #e6d188;
$custom-dark: #000000;
JSON
{
  "hex": "#d7be54",
  "rgb": {
    "r": 215,
    "g": 190,
    "b": 84
  },
  "hsl": {
    "h": 48.55,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80253,
    "c": 0.12829,
    "h": 96.1
  },
  "luminance": 0.51914
}

Semantic roles & 50–950 ramp

primary
#D7BE54
secondary
#3B4C95
accent
#62E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7BE54

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

Preview Lab → · Contrast checker → · Palette generator →

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