#D7D243#D7D243

#D7D243 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.3% C 0.158 H 107.4°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#D7D243
RGBrgb(215, 210, 67)
HSLhsl(58, 65%, 55%)
HSVhsv(58, 69%, 84%)
CMYKcmyk(0%, 2.3%, 68.8%, 15.7%)
CIE-LABlab(82.35, -14.76, 67.84)
CIE-LCHlch(82.35, 69.43, 102.27°)
OKLaboklab(84.28% -0.0473 0.1511)
OKLCHoklch(84.28% 0.158 107.4)
XYZxyz(52.0860, 60.9472, 14.3294)
Luminance0.6095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D243 #4348D7
analogous
#D78843 #D7D243 #92D743
triadic
#D7D243 #43D7D2 #D243D7
tetradic
#D7D243 #43D788 #4348D7 #D74392
square
#D7D243 #43D788 #4348D7 #D74392
split-complementary
#D7D243 #4392D7 #8843D7
monochromatic
#84801C #B6B127 #D7D243 #E2DE75 #ECEAA8

Accessibility & contrast

On white

1.59
#D7D243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#D7D243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D243
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D243#FFFFFF#000000##000000
##D7D2431.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2C
Deuteranopia (green-blind)
#E6CF4D
Tritanopia (blue-blind)
#E6C4B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d243;
/* rgb */ color: rgb(215, 210, 67);
/* oklch */ color: oklch(84.3% 0.158 107.4);
Tailwind
colors: {
  custom: {
    50: '#e7df80',
    500: '#d7d243',
    950: '#000000',
  },
}
SCSS
$custom: #d7d243;
$custom-light: #e7df80;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d243",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 67
  },
  "hsl": {
    "h": 57.973,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84278,
    "c": 0.15836,
    "h": 107.4
  },
  "luminance": 0.60946
}

Semantic roles & 50–950 ramp

primary
#D7D243
secondary
#34378A
accent
#46E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D243

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

Preview Lab → · Contrast checker → · Palette generator →

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