#D1C258#D1C258

#D1C258 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.128 H 101.3°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#D1C258
RGBrgb(209, 194, 88)
HSLhsl(53, 57%, 58%)
HSVhsv(53, 58%, 82%)
CMYKcmyk(0%, 7.2%, 57.9%, 18%)
CIE-LABlab(77.78, -7.87, 54.14)
CIE-LCHlch(77.78, 54.70, 98.28°)
OKLaboklab(80.58% -0.0251 0.1254)
OKLCHoklch(80.58% 0.128 101.3)
XYZxyz(47.3494, 52.8453, 16.9367)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C258 #5867D1
analogous
#D18558 #D1C258 #A3D158
triadic
#D1C258 #58D1C2 #C258D1
tetradic
#D1C258 #58D185 #5867D1 #D158A3
square
#D1C258 #58D185 #5867D1 #D158A3
split-complementary
#D1C258 #58A3D1 #8558D1
monochromatic
#897D26 #B9A833 #D1C258 #DED488 #EBE5B8

Accessibility & contrast

On white

1.82
#D1C258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#D1C258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C258
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C258#FFFFFF#000000##000000
##D1C2581.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4D
Deuteranopia (green-blind)
#D7C35D
Tritanopia (blue-blind)
#E0B6AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c258;
/* rgb */ color: rgb(209, 194, 88);
/* oklch */ color: oklch(80.6% 0.128 101.3);
Tailwind
colors: {
  custom: {
    50: '#e2d48b',
    500: '#d1c258',
    950: '#000000',
  },
}
SCSS
$custom: #d1c258;
$custom-light: #e2d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c258",
  "rgb": {
    "r": 209,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 52.562,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80578,
    "c": 0.12784,
    "h": 101.3
  },
  "luminance": 0.52843
}

Semantic roles & 50–950 ramp

primary
#D1C258
secondary
#3E488F
accent
#5BE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C258

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

Preview Lab → · Contrast checker → · Palette generator →

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