#D7C25E#D7C25E

#D7C25E is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.2% C 0.123 H 97.6°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#D7C25E
RGBrgb(215, 194, 94)
HSLhsl(50, 60%, 61%)
HSVhsv(50, 56%, 84%)
CMYKcmyk(0%, 9.8%, 56.3%, 15.7%)
CIE-LABlab(78.37, -4.92, 52.17)
CIE-LCHlch(78.37, 52.40, 95.39°)
OKLaboklab(81.19% -0.0163 0.1217)
OKLCHoklch(81.19% 0.123 97.6)
XYZxyz(49.3383, 53.8409, 18.3810)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C25E #5E73D7
analogous
#D7855E #D7C25E #AFD75E
triadic
#D7C25E #5ED7C2 #C25ED7
tetradic
#D7C25E #5ED785 #5E73D7 #D75EAF
square
#D7C25E #5ED785 #5E73D7 #D75EAF
split-complementary
#D7C25E #5EAFD7 #855ED7
monochromatic
#958225 #C6AD31 #D7C25E #E3D58F #EFE7C0

Accessibility & contrast

On white

1.78
#D7C25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#D7C25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C25E
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C25E#FFFFFF#000000##000000
##D7C25E1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE54
Deuteranopia (green-blind)
#D8C563
Tritanopia (blue-blind)
#E6B6AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7c25e;
/* rgb */ color: rgb(215, 194, 94);
/* oklch */ color: oklch(81.2% 0.123 97.6);
Tailwind
colors: {
  custom: {
    50: '#e6d48f',
    500: '#d7c25e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c25e;
$custom-light: #e6d48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c25e",
  "rgb": {
    "r": 215,
    "g": 194,
    "b": 94
  },
  "hsl": {
    "h": 49.587,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81186,
    "c": 0.12278,
    "h": 97.6
  },
  "luminance": 0.53839
}

Semantic roles & 50–950 ramp

primary
#D7C25E
secondary
#3F4F9A
accent
#3BC81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C25E

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

Preview Lab → · Contrast checker → · Palette generator →

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