#7D8115#7D8115

#7D8115 is a mid, vivid yellow. Relative luminance 0.201; OKLCH L 58.1% C 0.122 H 111.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7D8115
RGBrgb(125, 129, 21)
HSLhsl(62, 72%, 29%)
HSVhsv(62, 84%, 51%)
CMYKcmyk(3.1%, 0%, 83.7%, 49.4%)
CIE-LABlab(51.97, -14.36, 52.25)
CIE-LCHlch(51.97, 54.19, 105.36°)
OKLaboklab(58.1% -0.0454 0.113)
OKLCHoklch(58.1% 0.122 111.9)
XYZxyz(16.4436, 20.1151, 3.7257)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8115 #191581
analogous
#814F15 #7D8115 #478115
triadic
#7D8115 #157D81 #81157D
tetradic
#7D8115 #15814F #191581 #811547
square
#7D8115 #15814F #191581 #811547
split-complementary
#7D8115 #154781 #4F1581
monochromatic
#1A1A04 #4A4C0C #7D8115 #B0B61E #D7DE33

Accessibility & contrast

On white

4.18
#7D8115 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7D8115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8115
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8115#FFFFFF#000000##000000
##7D81151.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#86786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d8115;
/* rgb */ color: rgb(125, 129, 21);
/* oklch */ color: oklch(58.1% 0.122 111.9);
Tailwind
colors: {
  custom: {
    50: '#a6a55e',
    500: '#7d8115',
    950: '#000000',
  },
}
SCSS
$custom: #7d8115;
$custom-light: #a6a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8115",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 62.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.58101,
    "c": 0.1218,
    "h": 111.9
  },
  "luminance": 0.20115
}

Semantic roles & 50–950 ramp

primary
#7D8115
secondary
#403CB6
accent
#39EF40
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D8115

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

Preview Lab → · Contrast checker → · Palette generator →

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