#D2BA58#D2BA58

#D2BA58 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 79.0% C 0.121 H 95.7°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#D2BA58
RGBrgb(210, 186, 88)
HSLhsl(48, 58%, 58%)
HSVhsv(48, 58%, 82%)
CMYKcmyk(0%, 11.4%, 58.1%, 17.6%)
CIE-LABlab(75.78, -3.31, 51.88)
CIE-LCHlch(75.78, 51.99, 93.65°)
OKLaboklab(79.01% -0.0121 0.1205)
OKLCHoklch(79.01% 0.121 95.7)
XYZxyz(45.9006, 49.5261, 16.3724)
Luminance0.4952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA58 #5870D2
analogous
#D27D58 #D2BA58 #ADD258
triadic
#D2BA58 #58D2BA #BA58D2
tetradic
#D2BA58 #58D27D #5870D2 #D258AD
square
#D2BA58 #58D27D #5870D2 #D258AD
split-complementary
#D2BA58 #58ADD2 #7D58D2
monochromatic
#8A7625 #BBA032 #D2BA58 #DFCE88 #ECE2B8

Accessibility & contrast

On white

1.93
#D2BA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#D2BA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BA58
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BA58#FFFFFF#000000##000000
##D2BA581.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64E
Deuteranopia (green-blind)
#D1BE5C
Tritanopia (blue-blind)
#E1AEA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2ba58;
/* rgb */ color: rgb(210, 186, 88);
/* oklch */ color: oklch(79.0% 0.121 95.7);
Tailwind
colors: {
  custom: {
    50: '#e3ce8a',
    500: '#d2ba58',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba58;
$custom-light: #e3ce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba58",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 88
  },
  "hsl": {
    "h": 48.197,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79009,
    "c": 0.1211,
    "h": 95.7
  },
  "luminance": 0.49524
}

Semantic roles & 50–950 ramp

primary
#D2BA58
secondary
#ABB4DB
accent
#65E147
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2BA58

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

Preview Lab → · Contrast checker → · Palette generator →

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