#D6D258#D6D258

#D6D258 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.4% C 0.143 H 107.3°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#D6D258
RGBrgb(214, 210, 88)
HSLhsl(58, 61%, 59%)
HSVhsv(58, 59%, 84%)
CMYKcmyk(0%, 1.9%, 58.9%, 16.1%)
CIE-LABlab(82.43, -13.91, 59.42)
CIE-LCHlch(82.43, 61.03, 103.18°)
OKLaboklab(84.37% -0.0426 0.1365)
OKLCHoklch(84.37% 0.143 107.3)
XYZxyz(52.5412, 61.0955, 18.2555)
Luminance0.6109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D258 #585CD6
analogous
#D69358 #D6D258 #9BD658
triadic
#D6D258 #58D6D2 #D258D6
tetradic
#D6D258 #58D693 #585CD6 #D6589B
square
#D6D258 #58D693 #585CD6 #D6589B
split-complementary
#D6D258 #589BD6 #9358D6
monochromatic
#908D23 #C1BD2F #D6D258 #E2DF89 #EEECBA

Accessibility & contrast

On white

1.59
#D6D258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#D6D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D258
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D258#FFFFFF#000000##000000
##D6D2581.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4A
Deuteranopia (green-blind)
#E4CF5F
Tritanopia (blue-blind)
#E4C6B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d6d258;
/* rgb */ color: rgb(214, 210, 88);
/* oklch */ color: oklch(84.4% 0.143 107.3);
Tailwind
colors: {
  custom: {
    50: '#e5df8c',
    500: '#d6d258',
    950: '#000000',
  },
}
SCSS
$custom: #d6d258;
$custom-light: #e5df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d258",
  "rgb": {
    "r": 214,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 58.095,
    "s": 60.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84373,
    "c": 0.14302,
    "h": 107.3
  },
  "luminance": 0.61094
}

Semantic roles & 50–950 ramp

primary
#D6D258
secondary
#3D3F96
accent
#49E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D6D258

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

Preview Lab → · Contrast checker → · Palette generator →

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