#7E8224#7E8224

#7E8224 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.5% C 0.114 H 111.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7E8224
RGBrgb(126, 130, 36)
HSLhsl(63, 57%, 33%)
HSVhsv(63, 72%, 51%)
CMYKcmyk(3.1%, 0%, 72.3%, 49%)
CIE-LABlab(52.43, -13.76, 47.62)
CIE-LCHlch(52.43, 49.57, 106.12°)
OKLaboklab(58.52% -0.0425 0.106)
OKLCHoklch(58.52% 0.114 111.9)
XYZxyz(16.9058, 20.5287, 4.7406)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8224 #282482
analogous
#825724 #7E8224 #4F8224
triadic
#7E8224 #247E82 #82247E
tetradic
#7E8224 #248257 #282482 #82244F
square
#7E8224 #248257 #282482 #82244F
split-complementary
#7E8224 #244F82 #572482
monochromatic
#212209 #505217 #7E8224 #ACB231 #CACF51

Accessibility & contrast

On white

4.11
#7E8224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7E8224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8224
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8224#FFFFFF#000000##000000
##7E82241.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C14
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#877A70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e8224;
/* rgb */ color: rgb(126, 130, 36);
/* oklch */ color: oklch(58.5% 0.114 111.9);
Tailwind
colors: {
  custom: {
    50: '#a6a665',
    500: '#7e8224',
    950: '#000000',
  },
}
SCSS
$custom: #7e8224;
$custom-light: #a6a665;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8224",
  "rgb": {
    "r": 126,
    "g": 130,
    "b": 36
  },
  "hsl": {
    "h": 62.553,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58518,
    "c": 0.11418,
    "h": 111.9
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#7E8224
secondary
#534FB3
accent
#48E04E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8224

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

Preview Lab → · Contrast checker → · Palette generator →

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