#7A8E13#7A8E13

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

Color values

HEX#7A8E13
RGBrgb(122, 142, 19)
HSLhsl(70, 76%, 32%)
HSVhsv(70, 87%, 56%)
CMYKcmyk(14.1%, 0%, 86.6%, 44.3%)
CIE-LABlab(55.61, -22.53, 55.79)
CIE-LCHlch(55.61, 60.17, 111.99°)
OKLaboklab(60.97% -0.0679 0.1204)
OKLCHoklch(60.97% 0.138 119.4)
XYZxyz(17.8170, 23.5307, 4.2192)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8E13 #27138E
analogous
#8E6513 #7A8E13 #3D8E13
triadic
#7A8E13 #137A8E #8E137A
tetradic
#7A8E13 #138E65 #27138E #8E133D
square
#7A8E13 #138E65 #27138E #8E133D
split-complementary
#7A8E13 #133D8E #65138E
monochromatic
#1D2205 #4C580C #7A8E13 #A8C41A #C8E437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8E13#FFFFFF#000000##000000
##7A8E131.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)
#968622
Tritanopia (blue-blind)
#828679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a8e13;
/* rgb */ color: rgb(122, 142, 19);
/* oklch */ color: oklch(61.0% 0.138 119.4);
Tailwind
colors: {
  custom: {
    50: '#a4af60',
    500: '#7a8e13',
    950: '#000000',
  },
}
SCSS
$custom: #7a8e13;
$custom-light: #a4af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8e13",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 69.756,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.13824,
    "h": 119.4
  },
  "luminance": 0.23531
}

Semantic roles & 50–950 ramp

primary
#7A8E13
secondary
#513BC2
accent
#35F354
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8E13

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

Preview Lab → · Contrast checker → · Palette generator →

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