#7A8A14#7A8A14

#7A8A14 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.0% C 0.133 H 117.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7A8A14
RGBrgb(122, 138, 20)
HSLhsl(68, 75%, 31%)
HSVhsv(68, 86%, 54%)
CMYKcmyk(11.6%, 0%, 85.5%, 45.9%)
CIE-LABlab(54.41, -20.46, 54.53)
CIE-LCHlch(54.41, 58.24, 110.57°)
OKLaboklab(60% -0.0622 0.1179)
OKLCHoklch(60% 0.133 117.8)
XYZxyz(17.2412, 22.3652, 4.0703)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A14 #24148A
analogous
#8A5F14 #7A8A14 #3F8A14
triadic
#7A8A14 #147A8A #8A147A
tetradic
#7A8A14 #148A5F #24148A #8A143F
square
#7A8A14 #148A5F #24148A #8A143F
split-complementary
#7A8A14 #143F8A #5F148A
monochromatic
#1B1F05 #4B550C #7A8A14 #A9BF1C #CBE236

Accessibility & contrast

On white

3.84
#7A8A14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7A8A14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A14
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A14#FFFFFF#000000##000000
##7A8A141.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#928321
Tritanopia (blue-blind)
#828275
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a8a14;
/* rgb */ color: rgb(122, 138, 20);
/* oklch */ color: oklch(60.0% 0.133 117.8);
Tailwind
colors: {
  custom: {
    50: '#a4ac5f',
    500: '#7a8a14',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a14;
$custom-light: #a4ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a14",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 20
  },
  "hsl": {
    "h": 68.136,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.60003,
    "c": 0.13325,
    "h": 117.8
  },
  "luminance": 0.22365
}

Semantic roles & 50–950 ramp

primary
#7A8A14
secondary
#4D3CBE
accent
#36F150
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7A8A14

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

Preview Lab → · Contrast checker → · Palette generator →

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