#D7C253#D7C253

#D7C253 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.1% C 0.132 H 98.6°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#D7C253
RGBrgb(215, 194, 83)
HSLhsl(50, 62%, 58%)
HSVhsv(50, 61%, 84%)
CMYKcmyk(0%, 9.8%, 61.4%, 15.7%)
CIE-LABlab(78.26, -5.71, 57.06)
CIE-LCHlch(78.26, 57.34, 95.71°)
OKLaboklab(81.07% -0.0198 0.1308)
OKLCHoklch(81.07% 0.132 98.6)
XYZxyz(48.8795, 53.6573, 15.9642)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C253 #5368D7
analogous
#D78053 #D7C253 #AAD753
triadic
#D7C253 #53D7C2 #C253D7
tetradic
#D7C253 #53D780 #5368D7 #D753AA
square
#D7C253 #53D780 #5368D7 #D753AA
split-complementary
#D7C253 #53AAD7 #8053D7
monochromatic
#8E7D21 #C0A92D #D7C253 #E3D485 #EEE5B6

Accessibility & contrast

On white

1.79
#D7C253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#D7C253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C253
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C253#FFFFFF#000000##000000
##D7C2531.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD47
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#E7B5AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7c253;
/* rgb */ color: rgb(215, 194, 83);
/* oklch */ color: oklch(81.1% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#e6d488',
    500: '#d7c253',
    950: '#000000',
  },
}
SCSS
$custom: #d7c253;
$custom-light: #e6d488;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c253",
  "rgb": {
    "r": 215,
    "g": 194,
    "b": 83
  },
  "hsl": {
    "h": 50.455,
    "s": 62.264,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81067,
    "c": 0.1323,
    "h": 98.6
  },
  "luminance": 0.53655
}

Semantic roles & 50–950 ramp

primary
#D7C253
secondary
#3A4894
accent
#5CE542
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C253

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

Preview Lab → · Contrast checker → · Palette generator →

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