#7A8826#7A8826

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

Color values

HEX#7A8826
RGBrgb(122, 136, 38)
HSLhsl(69, 56%, 34%)
HSVhsv(69, 72%, 53%)
CMYKcmyk(10.3%, 0%, 72.1%, 46.7%)
CIE-LABlab(53.91, -18.61, 48.19)
CIE-LCHlch(53.91, 51.66, 111.12°)
OKLaboklab(59.63% -0.0556 0.1076)
OKLCHoklch(59.63% 0.121 117.3)
XYZxyz(17.1804, 21.8860, 5.1527)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8826 #342688
analogous
#886526 #7A8826 #498826
triadic
#7A8826 #267A88 #88267A
tetradic
#7A8826 #268865 #342688 #882649
square
#7A8826 #268865 #342688 #882649
split-complementary
#7A8826 #264988 #652688
monochromatic
#24280B #4F5819 #7A8826 #A5B833 #BFD058

Accessibility & contrast

On white

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

On black

5.38
#7A8826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8826
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8826#FFFFFF#000000##000000
##7A88261.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918116
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#828075
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a8826;
/* rgb */ color: rgb(122, 136, 38);
/* oklch */ color: oklch(59.6% 0.121 117.3);
Tailwind
colors: {
  custom: {
    50: '#a3aa67',
    500: '#7a8826',
    950: '#000000',
  },
}
SCSS
$custom: #7a8826;
$custom-light: #a3aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8826",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 38
  },
  "hsl": {
    "h": 68.571,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59626,
    "c": 0.12113,
    "h": 117.3
  },
  "luminance": 0.21886
}

Semantic roles & 50–950 ramp

primary
#7A8826
secondary
#6355B5
accent
#48E05E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #7A8826

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

Preview Lab → · Contrast checker → · Palette generator →

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