#7A8823#7A8823

#7A8823 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.6% C 0.123 H 117.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7A8823
RGBrgb(122, 136, 35)
HSLhsl(68, 59%, 34%)
HSVhsv(68, 74%, 53%)
CMYKcmyk(10.3%, 0%, 74.3%, 46.7%)
CIE-LABlab(53.89, -18.78, 49.32)
CIE-LCHlch(53.89, 52.77, 110.85°)
OKLaboklab(59.6% -0.0563 0.1095)
OKLCHoklch(59.6% 0.123 117.2)
XYZxyz(17.1340, 21.8674, 4.9080)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8823 #312388
analogous
#886323 #7A8823 #478823
triadic
#7A8823 #237A88 #88237A
tetradic
#7A8823 #238863 #312388 #882347
square
#7A8823 #238863 #312388 #882347
split-complementary
#7A8823 #234788 #632388
monochromatic
#23270A #4E5716 #7A8823 #A6B930 #C1D353

Accessibility & contrast

On white

3.91
#7A8823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7A8823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8823
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8823#FFFFFF#000000##000000
##7A88231.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928010
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#828074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a8823;
/* rgb */ color: rgb(122, 136, 35);
/* oklch */ color: oklch(59.6% 0.123 117.2);
Tailwind
colors: {
  custom: {
    50: '#a3aa66',
    500: '#7a8823',
    950: '#000000',
  },
}
SCSS
$custom: #7a8823;
$custom-light: #a3aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8823",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 68.317,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59603,
    "c": 0.12312,
    "h": 117.2
  },
  "luminance": 0.21867
}

Semantic roles & 50–950 ramp

primary
#7A8823
secondary
#5E50B7
accent
#46E25B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #7A8823

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

Preview Lab → · Contrast checker → · Palette generator →

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