#7D7D15#7D7D15

#7D7D15 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.118 H 109.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D7D15
RGBrgb(125, 125, 21)
HSLhsl(60, 71%, 29%)
HSVhsv(60, 83%, 49%)
CMYKcmyk(0%, 0%, 83.2%, 51%)
CIE-LABlab(50.78, -12.20, 51.23)
CIE-LCHlch(50.78, 52.66, 103.40°)
OKLaboklab(57.15% -0.0395 0.1108)
OKLCHoklch(57.15% 0.118 109.6)
XYZxyz(15.9270, 19.0818, 3.5535)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D15 #15157D
analogous
#7D4915 #7D7D15 #497D15
triadic
#7D7D15 #157D7D #7D157D
tetradic
#7D7D15 #157D49 #15157D #7D1549
square
#7D7D15 #157D49 #15157D #7D1549
split-complementary
#7D7D15 #15497D #49157D
monochromatic
#1A1A04 #49490C #7D7D15 #B1B11E #DCDC30

Accessibility & contrast

On white

4.36
#7D7D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7D7D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D15
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D15#FFFFFF#000000##000000
##7D7D151.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#87746A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d15;
/* rgb */ color: rgb(125, 125, 21);
/* oklch */ color: oklch(57.2% 0.118 109.6);
Tailwind
colors: {
  custom: {
    50: '#a6a25e',
    500: '#7d7d15',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d15;
$custom-light: #a6a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d15",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57154,
    "c": 0.11762,
    "h": 109.6
  },
  "luminance": 0.19081
}

Semantic roles & 50–950 ramp

primary
#7D7D15
secondary
#3C3CB2
accent
#3AEE3A
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7D7D15

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

Preview Lab → · Contrast checker → · Palette generator →

#7D7D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva