#D2D95C#D2D95C

#D2D95C is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.148 H 112.1°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#D2D95C
RGBrgb(210, 217, 92)
HSLhsl(63, 62%, 61%)
HSVhsv(63, 58%, 85%)
CMYKcmyk(3.2%, 0%, 57.6%, 14.9%)
CIE-LABlab(84.02, -18.73, 59.35)
CIE-LCHlch(84.02, 62.24, 107.52°)
OKLaboklab(85.58% -0.0556 0.1369)
OKLCHoklch(85.58% 0.148 112.1)
XYZxyz(53.3243, 64.1012, 19.6869)
Luminance0.6410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D95C #635CD9
analogous
#D9A15C #D2D95C #93D95C
triadic
#D2D95C #5CD2D9 #D95CD2
tetradic
#D2D95C #5CD9A1 #635CD9 #D95C93
square
#D2D95C #5CD9A1 #635CD9 #D95C93
split-complementary
#D2D95C #5C93D9 #A15CD9
monochromatic
#919723 #C0C92F #D2D95C #E0E58E #EDF0BF

Accessibility & contrast

On white

1.52
#D2D95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#D2D95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D95C
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D95C#FFFFFF#000000##000000
##D2D95C1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04E
Deuteranopia (green-blind)
#E8D363
Tritanopia (blue-blind)
#DFCDBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d95c;
/* rgb */ color: rgb(210, 217, 92);
/* oklch */ color: oklch(85.6% 0.148 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e48f',
    500: '#d2d95c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d95c;
$custom-light: #e2e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d95c",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 63.36,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85575,
    "c": 0.14781,
    "h": 112.1
  },
  "luminance": 0.641
}

Semantic roles & 50–950 ramp

primary
#D2D95C
secondary
#433D9C
accent
#1CCA25
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D95C

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

Preview Lab → · Contrast checker → · Palette generator →

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