#7E8E27#7E8E27

#7E8E27 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.4% C 0.126 H 118.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7E8E27
RGBrgb(126, 142, 39)
HSLhsl(69, 57%, 35%)
HSVhsv(69, 73%, 56%)
CMYKcmyk(11.3%, 0%, 72.5%, 44.3%)
CIE-LABlab(56.02, -19.90, 49.99)
CIE-LCHlch(56.02, 53.80, 111.71°)
OKLaboklab(61.4% -0.0593 0.1115)
OKLCHoklch(61.4% 0.126 118)
XYZxyz(18.6438, 23.9283, 5.5555)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8E27 #37278E
analogous
#8E6A27 #7E8E27 #4B8E27
triadic
#7E8E27 #277E8E #8E277E
tetradic
#7E8E27 #278E6A #37278E #8E274B
square
#7E8E27 #278E6A #37278E #8E274B
split-complementary
#7E8E27 #274B8E #6A278E
monochromatic
#292E0D #535E1A #7E8E27 #A9BE34 #C0D25D

Accessibility & contrast

On white

3.63
#7E8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#7E8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8E27
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8E27#FFFFFF#000000##000000
##7E8E271.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988615
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#86867A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8e27;
/* rgb */ color: rgb(126, 142, 39);
/* oklch */ color: oklch(61.4% 0.126 118.0);
Tailwind
colors: {
  custom: {
    50: '#a6af68',
    500: '#7e8e27',
    950: '#000000',
  },
}
SCSS
$custom: #7e8e27;
$custom-light: #a6af68;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8e27",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 69.32,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61401,
    "c": 0.12625,
    "h": 118
  },
  "luminance": 0.23928
}

Semantic roles & 50–950 ramp

primary
#7E8E27
secondary
#6859B8
accent
#48E05F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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