#7A8113#7A8113

#7A8113 is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.124 H 113.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7A8113
RGBrgb(122, 129, 19)
HSLhsl(64, 74%, 29%)
HSVhsv(64, 85%, 51%)
CMYKcmyk(5.4%, 0%, 85.3%, 49.4%)
CIE-LABlab(51.71, -15.80, 52.48)
CIE-LCHlch(51.71, 54.80, 106.75°)
OKLaboklab(57.83% -0.0494 0.1133)
OKLCHoklch(57.83% 0.124 113.6)
XYZxyz(15.9944, 19.8855, 3.6117)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8113 #1A1381
analogous
#815113 #7A8113 #438113
triadic
#7A8113 #137A81 #81137A
tetradic
#7A8113 #138151 #1A1381 #811343
square
#7A8113 #138151 #1A1381 #811343
split-complementary
#7A8113 #134381 #511381
monochromatic
#191B04 #484C0B #7A8113 #ACB61B #D5E02E

Accessibility & contrast

On white

4.22
#7A8113 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7A8113 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8113
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8113#FFFFFF#000000##000000
##7A81131.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#83796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a8113;
/* rgb */ color: rgb(122, 129, 19);
/* oklch */ color: oklch(57.8% 0.124 113.6);
Tailwind
colors: {
  custom: {
    50: '#a4a55e',
    500: '#7a8113',
    950: '#000000',
  },
}
SCSS
$custom: #7a8113;
$custom-light: #a4a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8113",
  "rgb": {
    "r": 122,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 63.818,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57828,
    "c": 0.12357,
    "h": 113.6
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#7A8113
secondary
#413AB6
accent
#37F143
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8113

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

Preview Lab → · Contrast checker → · Palette generator →

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