#7A8E1B#7A8E1B

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

Color values

HEX#7A8E1B
RGBrgb(122, 142, 27)
HSLhsl(70, 68%, 33%)
HSVhsv(70, 81%, 56%)
CMYKcmyk(14.1%, 0%, 81%, 44.3%)
CIE-LABlab(55.65, -22.24, 53.66)
CIE-LCHlch(55.65, 58.09, 112.51°)
OKLaboklab(61.01% -0.0665 0.1172)
OKLCHoklch(61.01% 0.135 119.6)
XYZxyz(17.8973, 23.5628, 4.6419)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8E1B #2F1B8E
analogous
#8E681B #7A8E1B #408E1B
triadic
#7A8E1B #1B7A8E #8E1B7A
tetradic
#7A8E1B #1B8E68 #2F1B8E #8E1B40
square
#7A8E1B #1B8E68 #2F1B8E #8E1B40
split-complementary
#7A8E1B #1B408E #681B8E
monochromatic
#222707 #4E5B11 #7A8E1B #A6C125 #C2DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8E1B#FFFFFF#000000##000000
##7A8E1B1.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: #7a8e1b;
/* rgb */ color: rgb(122, 142, 27);
/* oklch */ color: oklch(61.0% 0.135 119.6);
Tailwind
colors: {
  custom: {
    50: '#a4af63',
    500: '#7a8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #7a8e1b;
$custom-light: #a4af63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8e1b",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 70.435,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61007,
    "c": 0.13481,
    "h": 119.6
  },
  "luminance": 0.23563
}

Semantic roles & 50–950 ramp

primary
#7A8E1B
secondary
#5C47BE
accent
#3DEB5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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