#7A8B14#7A8B14

#7A8B14 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.2% C 0.134 H 118.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7A8B14
RGBrgb(122, 139, 20)
HSLhsl(69, 75%, 31%)
HSVhsv(69, 86%, 55%)
CMYKcmyk(12.2%, 0%, 85.6%, 45.5%)
CIE-LABlab(54.71, -20.97, 54.78)
CIE-LCHlch(54.71, 58.66, 110.95°)
OKLaboklab(60.25% -0.0636 0.1184)
OKLCHoklch(60.25% 0.134 118.2)
XYZxyz(17.3854, 22.6535, 4.1184)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8B14 #25148B
analogous
#8B6014 #7A8B14 #3E8B14
triadic
#7A8B14 #147A8B #8B147A
tetradic
#7A8B14 #148B60 #25148B #8B143E
square
#7A8B14 #148B60 #25148B #8B143E
split-complementary
#7A8B14 #143E8B #60148B
monochromatic
#1C2005 #4B550C #7A8B14 #A9C11C #CAE237

Accessibility & contrast

On white

3.80
#7A8B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7A8B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8B14
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8B14#FFFFFF#000000##000000
##7A8B141.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#828376
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a8b14;
/* rgb */ color: rgb(122, 139, 20);
/* oklch */ color: oklch(60.2% 0.134 118.2);
Tailwind
colors: {
  custom: {
    50: '#a4ac60',
    500: '#7a8b14',
    950: '#000000',
  },
}
SCSS
$custom: #7a8b14;
$custom-light: #a4ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8b14",
  "rgb": {
    "r": 122,
    "g": 139,
    "b": 20
  },
  "hsl": {
    "h": 68.571,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60246,
    "c": 0.1344,
    "h": 118.2
  },
  "luminance": 0.22653
}

Semantic roles & 50–950 ramp

primary
#7A8B14
secondary
#4E3CBF
accent
#36F151
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8B14

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

Preview Lab → · Contrast checker → · Palette generator →

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