#7A8E14#7A8E14

#7A8E14 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#7A8E14
RGBrgb(122, 142, 20)
HSLhsl(70, 75%, 32%)
HSVhsv(70, 86%, 56%)
CMYKcmyk(14.1%, 0%, 85.9%, 44.3%)
CIE-LABlab(55.62, -22.50, 55.56)
CIE-LCHlch(55.62, 59.94, 112.05°)
OKLaboklab(60.98% -0.0677 0.1201)
OKLCHoklch(60.98% 0.138 119.4)
XYZxyz(17.8257, 23.5342, 4.2652)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8E14 #28148E
analogous
#8E6514 #7A8E14 #3D8E14
triadic
#7A8E14 #147A8E #8E147A
tetradic
#7A8E14 #148E65 #28148E #8E143D
square
#7A8E14 #148E65 #28148E #8E143D
split-complementary
#7A8E14 #143D8E #65148E
monochromatic
#1E2305 #4C580C #7A8E14 #A8C41C #C7E339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7a8e14;
/* rgb */ color: rgb(122, 142, 20);
/* oklch */ color: oklch(61.0% 0.138 119.4);
Tailwind
colors: {
  custom: {
    50: '#a4af60',
    500: '#7a8e14',
    950: '#000000',
  },
}
SCSS
$custom: #7a8e14;
$custom-light: #a4af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8e14",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 69.836,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60975,
    "c": 0.13786,
    "h": 119.4
  },
  "luminance": 0.23534
}

Semantic roles & 50–950 ramp

primary
#7A8E14
secondary
#523CC2
accent
#36F255
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8E14

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

Preview Lab → · Contrast checker → · Palette generator →

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