#7E8A36#7E8A36

#7E8A36 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.109 H 116.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7E8A36
RGBrgb(126, 138, 54)
HSLhsl(69, 44%, 38%)
HSVhsv(69, 61%, 54%)
CMYKcmyk(8.7%, 0%, 60.9%, 45.9%)
CIE-LABlab(54.95, -16.78, 42.44)
CIE-LCHlch(54.95, 45.64, 111.57°)
OKLaboklab(60.58% -0.049 0.0979)
OKLCHoklch(60.58% 0.109 116.6)
XYZxyz(18.3589, 22.8791, 6.9383)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A36 #42368A
analogous
#8A6C36 #7E8A36 #548A36
triadic
#7E8A36 #367E8A #8A367E
tetradic
#7E8A36 #368A6C #42368A #8A3654
square
#7E8A36 #368A6C #42368A #8A3654
split-complementary
#7E8A36 #36548A #6C368A
monochromatic
#2E3214 #565E25 #7E8A36 #A6B647 #BCC872

Accessibility & contrast

On white

3.77
#7E8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7E8A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A36
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A36#FFFFFF#000000##000000
##7E8A361.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832D
Deuteranopia (green-blind)
#92843B
Tritanopia (blue-blind)
#858378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e8a36;
/* rgb */ color: rgb(126, 138, 54);
/* oklch */ color: oklch(60.6% 0.109 116.6);
Tailwind
colors: {
  custom: {
    50: '#a5ac71',
    500: '#7e8a36',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a36;
$custom-light: #a5ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a36",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 68.571,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60583,
    "c": 0.10946,
    "h": 116.6
  },
  "luminance": 0.22879
}

Semantic roles & 50–950 ramp

primary
#7E8A36
secondary
#756BB1
accent
#54D366
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #7E8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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