#7D8113#7D8113

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

Color values

HEX#7D8113
RGBrgb(125, 129, 19)
HSLhsl(62, 74%, 29%)
HSVhsv(62, 85%, 51%)
CMYKcmyk(3.1%, 0%, 85.3%, 49.4%)
CIE-LABlab(51.96, -14.42, 52.79)
CIE-LCHlch(51.96, 54.72, 105.28°)
OKLaboklab(58.09% -0.0458 0.1138)
OKLCHoklch(58.09% 0.123 111.9)
XYZxyz(16.4258, 20.1079, 3.6319)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8113 #171381
analogous
#814E13 #7D8113 #468113
triadic
#7D8113 #137D81 #81137D
tetradic
#7D8113 #13814E #171381 #811346
square
#7D8113 #13814E #171381 #811346
split-complementary
#7D8113 #134681 #4E1381
monochromatic
#1A1B04 #494C0B #7D8113 #B1B61B #DAE02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8113#FFFFFF#000000##000000
##7D81131.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)
#8C7D1E
Tritanopia (blue-blind)
#86786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d8113;
/* rgb */ color: rgb(125, 129, 19);
/* oklch */ color: oklch(58.1% 0.123 111.9);
Tailwind
colors: {
  custom: {
    50: '#a6a55e',
    500: '#7d8113',
    950: '#000000',
  },
}
SCSS
$custom: #7d8113;
$custom-light: #a6a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8113",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 62.182,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.58092,
    "c": 0.12266,
    "h": 111.9
  },
  "luminance": 0.20108
}

Semantic roles & 50–950 ramp

primary
#7D8113
secondary
#3E3AB6
accent
#37F13E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D8113

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

Preview Lab → · Contrast checker → · Palette generator →

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