#7A8117#7A8117

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

Color values

HEX#7A8117
RGBrgb(122, 129, 23)
HSLhsl(64, 70%, 30%)
HSVhsv(64, 82%, 51%)
CMYKcmyk(5.4%, 0%, 82.2%, 49.4%)
CIE-LABlab(51.72, -15.66, 51.37)
CIE-LCHlch(51.72, 53.70, 106.95°)
OKLaboklab(57.85% -0.0487 0.1116)
OKLCHoklch(57.85% 0.122 113.6)
XYZxyz(16.0315, 19.9003, 3.8071)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8117 #1E1781
analogous
#815317 #7A8117 #458117
triadic
#7A8117 #177A81 #81177A
tetradic
#7A8117 #178153 #1E1781 #811745
square
#7A8117 #178153 #1E1781 #811745
split-complementary
#7A8117 #174581 #531781
monochromatic
#191A05 #494D0E #7A8117 #ABB520 #D1DB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8117#FFFFFF#000000##000000
##7A81171.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)
#8B7C21
Tritanopia (blue-blind)
#83796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a8117;
/* rgb */ color: rgb(122, 129, 23);
/* oklch */ color: oklch(57.8% 0.122 113.6);
Tailwind
colors: {
  custom: {
    50: '#a4a55f',
    500: '#7a8117',
    950: '#000000',
  },
}
SCSS
$custom: #7a8117;
$custom-light: #a4a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8117",
  "rgb": {
    "r": 122,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 63.962,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.12178,
    "h": 113.6
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#7A8117
secondary
#463EB5
accent
#3BED47
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8117

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

Preview Lab → · Contrast checker → · Palette generator →

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