#7A8E11#7A8E11

#7A8E11 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.0% C 0.139 H 119.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7A8E11
RGBrgb(122, 142, 17)
HSLhsl(70, 79%, 31%)
HSVhsv(70, 88%, 56%)
CMYKcmyk(14.1%, 0%, 88%, 44.3%)
CIE-LABlab(55.61, -22.59, 56.25)
CIE-LCHlch(55.61, 60.61, 111.88°)
OKLaboklab(60.96% -0.0681 0.1211)
OKLCHoklch(60.96% 0.139 119.4)
XYZxyz(17.8006, 23.5242, 4.1331)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8E11 #25118E
analogous
#8E6311 #7A8E11 #3B8E11
triadic
#7A8E11 #117A8E #8E117A
tetradic
#7A8E11 #118E63 #25118E #8E113B
square
#7A8E11 #118E63 #25118E #8E113B
split-complementary
#7A8E11 #113B8E #63118E
monochromatic
#1C2104 #4B570A #7A8E11 #A9C518 #CAE733

Accessibility & contrast

On white

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

On black

5.70
#7A8E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8E11
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8E11#FFFFFF#000000##000000
##7A8E111.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a8e11;
/* rgb */ color: rgb(122, 142, 17);
/* oklch */ color: oklch(61.0% 0.139 119.4);
Tailwind
colors: {
  custom: {
    50: '#a4af5f',
    500: '#7a8e11',
    950: '#000000',
  },
}
SCSS
$custom: #7a8e11;
$custom-light: #a4af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8e11",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 69.6,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60963,
    "c": 0.13895,
    "h": 119.4
  },
  "luminance": 0.23524
}

Semantic roles & 50–950 ramp

primary
#7A8E11
secondary
#4E38C2
accent
#33F552
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7A8E11

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

Preview Lab → · Contrast checker → · Palette generator →

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