#7E8027#7E8027

#7E8027 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.110 H 110.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7E8027
RGBrgb(126, 128, 39)
HSLhsl(61, 53%, 33%)
HSVhsv(61, 70%, 50%)
CMYKcmyk(1.6%, 0%, 69.5%, 49.8%)
CIE-LABlab(51.86, -12.51, 45.84)
CIE-LCHlch(51.86, 47.52, 105.27°)
OKLaboklab(58.07% -0.0387 0.1028)
OKLCHoklch(58.07% 0.11 110.6)
XYZxyz(16.6901, 20.0209, 4.9043)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8027 #292780
analogous
#805527 #7E8027 #528027
triadic
#7E8027 #277E80 #80277E
tetradic
#7E8027 #278055 #292780 #802752
square
#7E8027 #278055 #292780 #802752
split-complementary
#7E8027 #275280 #552780
monochromatic
#22220A #505119 #7E8027 #ACAF35 #C9CB56

Accessibility & contrast

On white

4.20
#7E8027 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7E8027 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8027
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8027#FFFFFF#000000##000000
##7E80271.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1A
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#87786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e8027;
/* rgb */ color: rgb(126, 128, 39);
/* oklch */ color: oklch(58.1% 0.110 110.6);
Tailwind
colors: {
  custom: {
    50: '#a6a467',
    500: '#7e8027',
    950: '#000000',
  },
}
SCSS
$custom: #7e8027;
$custom-light: #a6a467;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8027",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 39
  },
  "hsl": {
    "h": 61.348,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5807,
    "c": 0.10979,
    "h": 110.6
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

primary
#7E8027
secondary
#5553B0
accent
#4BDD4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8027

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

Preview Lab → · Contrast checker → · Palette generator →

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