#7A8B1E#7A8B1E

#7A8B1E is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.3% C 0.130 H 118.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7A8B1E
RGBrgb(122, 139, 30)
HSLhsl(69, 64%, 33%)
HSVhsv(69, 78%, 55%)
CMYKcmyk(12.2%, 0%, 78.4%, 45.5%)
CIE-LABlab(54.76, -20.58, 51.90)
CIE-LCHlch(54.76, 55.83, 111.63°)
OKLaboklab(60.3% -0.0617 0.114)
OKLCHoklch(60.3% 0.13 118.4)
XYZxyz(17.4934, 22.6967, 4.6874)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8B1E #2F1E8B
analogous
#8B651E #7A8B1E #438B1E
triadic
#7A8B1E #1E7A8B #8B1E7A
tetradic
#7A8B1E #1E8B65 #2F1E8B #8B1E43
square
#7A8B1E #1E8B65 #2F1E8B #8B1E43
split-complementary
#7A8B1E #1E438B #651E8B
monochromatic
#222608 #4E5913 #7A8B1E #A6BD29 #C2D84B

Accessibility & contrast

On white

3.79
#7A8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#7A8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8B1E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8B1E#FFFFFF#000000##000000
##7A8B1E1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958302
Deuteranopia (green-blind)
#938328
Tritanopia (blue-blind)
#828377
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a8b1e;
/* rgb */ color: rgb(122, 139, 30);
/* oklch */ color: oklch(60.3% 0.130 118.4);
Tailwind
colors: {
  custom: {
    50: '#a4ac64',
    500: '#7a8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #7a8b1e;
$custom-light: #a4ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8b1e",
  "rgb": {
    "r": 122,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 69.358,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60296,
    "c": 0.12968,
    "h": 118.4
  },
  "luminance": 0.22697
}

Semantic roles & 50–950 ramp

primary
#7A8B1E
secondary
#5C4ABB
accent
#40E75A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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