#7A8E1C#7A8E1C

#7A8E1C is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 61.0% C 0.134 H 119.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7A8E1C
RGBrgb(122, 142, 28)
HSLhsl(71, 67%, 33%)
HSVhsv(71, 80%, 56%)
CMYKcmyk(14.1%, 0%, 80.3%, 44.3%)
CIE-LABlab(55.65, -22.20, 53.36)
CIE-LCHlch(55.65, 57.79, 112.59°)
OKLaboklab(61.01% -0.0664 0.1168)
OKLCHoklch(61.01% 0.134 119.6)
XYZxyz(17.9090, 23.5675, 4.7039)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8E1C #301C8E
analogous
#8E691C #7A8E1C #418E1C
triadic
#7A8E1C #1C7A8E #8E1C7A
tetradic
#7A8E1C #1C8E69 #301C8E #8E1C41
square
#7A8E1C #1C8E69 #301C8E #8E1C41
split-complementary
#7A8E1C #1C418E #691C8E
monochromatic
#222808 #4E5B12 #7A8E1C #A6C126 #C2DB49

Accessibility & contrast

On white

3.68
#7A8E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#7A8E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8E1C
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8E1C#FFFFFF#000000##000000
##7A8E1C1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#828679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a8e1c;
/* rgb */ color: rgb(122, 142, 28);
/* oklch */ color: oklch(61.0% 0.134 119.6);
Tailwind
colors: {
  custom: {
    50: '#a4af63',
    500: '#7a8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #7a8e1c;
$custom-light: #a4af63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8e1c",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 70.526,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61012,
    "c": 0.13431,
    "h": 119.6
  },
  "luminance": 0.23567
}

Semantic roles & 50–950 ramp

primary
#7A8E1C
secondary
#5D49BD
accent
#3EEA5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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