#D7D33F#D7D33F

#D7D33F is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.5% C 0.162 H 107.9°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#D7D33F
RGBrgb(215, 211, 63)
HSLhsl(58, 66%, 55%)
HSVhsv(58, 71%, 84%)
CMYKcmyk(0%, 1.9%, 70.7%, 15.7%)
CIE-LABlab(82.59, -15.45, 69.52)
CIE-LCHlch(82.59, 71.22, 102.53°)
OKLaboklab(84.46% -0.0496 0.154)
OKLCHoklch(84.46% 0.162 107.9)
XYZxyz(52.2178, 61.3962, 13.8017)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D33F #3F43D7
analogous
#D7873F #D7D33F #8FD73F
triadic
#D7D33F #3FD7D3 #D33FD7
tetradic
#D7D33F #3FD787 #3F43D7 #D73F8F
square
#D7D33F #3FD787 #3F43D7 #D73F8F
split-complementary
#D7D33F #3F8FD7 #873FD7
monochromatic
#817E1B #B3B025 #D7D33F #E2DF72 #ECEAA4

Accessibility & contrast

On white

1.58
#D7D33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#D7D33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D33F
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D33F#FFFFFF#000000##000000
##D7D33F1.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB25
Deuteranopia (green-blind)
#E7D04A
Tritanopia (blue-blind)
#E6C5B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d7d33f;
/* rgb */ color: rgb(215, 211, 63);
/* oklch */ color: oklch(84.5% 0.162 107.9);
Tailwind
colors: {
  custom: {
    50: '#e7e07e',
    500: '#d7d33f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d33f;
$custom-light: #e7e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d33f",
  "rgb": {
    "r": 215,
    "g": 211,
    "b": 63
  },
  "hsl": {
    "h": 58.421,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84462,
    "c": 0.16179,
    "h": 107.9
  },
  "luminance": 0.61394
}

Semantic roles & 50–950 ramp

primary
#D7D33F
secondary
#323588
accent
#44E83F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D7D33F

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

Preview Lab → · Contrast checker → · Palette generator →

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