#7A8A1B#7A8A1B

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

Color values

HEX#7A8A1B
RGBrgb(122, 138, 27)
HSLhsl(69, 67%, 32%)
HSVhsv(69, 80%, 54%)
CMYKcmyk(11.6%, 0%, 80.4%, 45.9%)
CIE-LABlab(54.44, -20.20, 52.58)
CIE-LCHlch(54.44, 56.32, 111.02°)
OKLaboklab(60.04% -0.0609 0.1149)
OKLCHoklch(60.04% 0.13 117.9)
XYZxyz(17.3128, 22.3938, 4.4471)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A1B #2B1B8A
analogous
#8A631B #7A8A1B #428A1B
triadic
#7A8A1B #1B7A8A #8A1B7A
tetradic
#7A8A1B #1B8A63 #2B1B8A #8A1B42
square
#7A8A1B #1B8A63 #2B1B8A #8A1B42
split-complementary
#7A8A1B #1B428A #631B8A
monochromatic
#1F2407 #4D5711 #7A8A1B #A7BD25 #C5DB45

Accessibility & contrast

On white

3.83
#7A8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7A8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A1B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A1B#FFFFFF#000000##000000
##7A8A1B1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a8a1b;
/* rgb */ color: rgb(122, 138, 27);
/* oklch */ color: oklch(60.0% 0.130 117.9);
Tailwind
colors: {
  custom: {
    50: '#a4ac62',
    500: '#7a8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a1b;
$custom-light: #a4ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a1b",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 68.649,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60037,
    "c": 0.13009,
    "h": 117.9
  },
  "luminance": 0.22394
}

Semantic roles & 50–950 ramp

primary
#7A8A1B
secondary
#5645BC
accent
#3EEA57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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