#D7D148#D7D148

#D7D148 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.1% C 0.154 H 106.8°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#D7D148
RGBrgb(215, 209, 72)
HSLhsl(57, 64%, 56%)
HSVhsv(57, 67%, 84%)
CMYKcmyk(0%, 2.8%, 66.5%, 15.7%)
CIE-LABlab(82.12, -14.00, 65.71)
CIE-LCHlch(82.12, 67.19, 102.02°)
OKLaboklab(84.1% -0.0446 0.1475)
OKLCHoklch(84.1% 0.154 106.8)
XYZxyz(51.9964, 60.5176, 15.0717)
Luminance0.6052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D148 #484ED7
analogous
#D78A48 #D7D148 #96D748
triadic
#D7D148 #48D7D1 #D148D7
tetradic
#D7D148 #48D78A #484ED7 #D74896
square
#D7D148 #48D78A #484ED7 #D74896
split-complementary
#D7D148 #4896D7 #8A48D7
monochromatic
#87831E #B9B329 #D7D148 #E2DE7A #EDEAAC

Accessibility & contrast

On white

1.60
#D7D148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#D7D148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D148
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D148#FFFFFF#000000##000000
##D7D1481.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C934
Deuteranopia (green-blind)
#E5CF51
Tritanopia (blue-blind)
#E6C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d148;
/* rgb */ color: rgb(215, 209, 72);
/* oklch */ color: oklch(84.1% 0.154 106.8);
Tailwind
colors: {
  custom: {
    50: '#e7de82',
    500: '#d7d148',
    950: '#000000',
  },
}
SCSS
$custom: #d7d148;
$custom-light: #e7de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d148",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 57.483,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84104,
    "c": 0.15408,
    "h": 106.8
  },
  "luminance": 0.60516
}

Semantic roles & 50–950 ramp

primary
#D7D148
secondary
#36398D
accent
#48E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D148

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

Preview Lab → · Contrast checker → · Palette generator →

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