#D6D262#D6D262

#D6D262 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.5% C 0.134 H 107.1°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#D6D262
RGBrgb(214, 210, 98)
HSLhsl(58, 59%, 61%)
HSVhsv(58, 54%, 84%)
CMYKcmyk(0%, 1.9%, 54.2%, 16.1%)
CIE-LABlab(82.53, -13.17, 55.08)
CIE-LCHlch(82.53, 56.63, 103.45°)
OKLaboklab(84.48% -0.0394 0.1284)
OKLCHoklch(84.48% 0.134 107.1)
XYZxyz(52.9842, 61.2727, 20.5887)
Luminance0.6127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D262 #6266D6
analogous
#D69862 #D6D262 #A0D662
triadic
#D6D262 #62D6D2 #D262D6
tetradic
#D6D262 #62D698 #6266D6 #D662A0
square
#D6D262 #62D698 #6266D6 #D662A0
split-complementary
#D6D262 #62A0D6 #9862D6
monochromatic
#969327 #C7C234 #D6D262 #E3E093 #EFEEC3

Accessibility & contrast

On white

1.58
#D6D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#D6D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D262
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D262#FFFFFF#000000##000000
##D6D2621.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB57
Deuteranopia (green-blind)
#E4D068
Tritanopia (blue-blind)
#E4C6B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d6d262;
/* rgb */ color: rgb(214, 210, 98);
/* oklch */ color: oklch(84.5% 0.134 107.1);
Tailwind
colors: {
  custom: {
    50: '#e5df92',
    500: '#d6d262',
    950: '#000000',
  },
}
SCSS
$custom: #d6d262;
$custom-light: #e5df92;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d262",
  "rgb": {
    "r": 214,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 57.931,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84479,
    "c": 0.13433,
    "h": 107.1
  },
  "luminance": 0.61271
}

Semantic roles & 50–950 ramp

primary
#D6D262
secondary
#41449B
accent
#25C61F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D6D262

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

Preview Lab → · Contrast checker → · Palette generator →

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