#D2BE54#D2BE54

#D2BE54 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.128 H 98.7°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#D2BE54
RGBrgb(210, 190, 84)
HSLhsl(50, 58%, 58%)
HSVhsv(50, 60%, 82%)
CMYKcmyk(0%, 9.5%, 60%, 17.6%)
CIE-LABlab(76.78, -5.68, 54.85)
CIE-LCHlch(76.78, 55.15, 95.91°)
OKLaboklab(79.79% -0.0193 0.1264)
OKLCHoklch(79.79% 0.128 98.7)
XYZxyz(46.5939, 51.1707, 15.8084)
Luminance0.5117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BE54 #5468D2
analogous
#D27F54 #D2BE54 #A7D254
triadic
#D2BE54 #54D2BE #BE54D2
tetradic
#D2BE54 #54D27F #5468D2 #D254A7
square
#D2BE54 #54D27F #5468D2 #D254A7
split-complementary
#D2BE54 #54A7D2 #7F54D2
monochromatic
#887824 #B8A331 #D2BE54 #DFD084 #EBE3B5

Accessibility & contrast

On white

1.87
#D2BE54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#D2BE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BE54
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BE54#FFFFFF#000000##000000
##D2BE541.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB949
Deuteranopia (green-blind)
#D4C159
Tritanopia (blue-blind)
#E1B1A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2be54;
/* rgb */ color: rgb(210, 190, 84);
/* oklch */ color: oklch(79.8% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#e3d188',
    500: '#d2be54',
    950: '#000000',
  },
}
SCSS
$custom: #d2be54;
$custom-light: #e3d188;
$custom-dark: #000000;
JSON
{
  "hex": "#d2be54",
  "rgb": {
    "r": 210,
    "g": 190,
    "b": 84
  },
  "hsl": {
    "h": 50.476,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79792,
    "c": 0.12783,
    "h": 98.7
  },
  "luminance": 0.51169
}

Semantic roles & 50–950 ramp

primary
#D2BE54
secondary
#3C498E
accent
#5FE246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2BE54

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

Preview Lab → · Contrast checker → · Palette generator →

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