#7E911C#7E911C

#7E911C is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.1% C 0.136 H 119.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7E911C
RGBrgb(126, 145, 28)
HSLhsl(70, 68%, 34%)
HSVhsv(70, 81%, 57%)
CMYKcmyk(13.1%, 0%, 80.7%, 43.1%)
CIE-LABlab(56.85, -21.97, 54.55)
CIE-LCHlch(56.85, 58.81, 111.94°)
OKLaboklab(62.05% -0.0659 0.1192)
OKLCHoklch(62.05% 0.136 119)
XYZxyz(18.9396, 24.7704, 4.8818)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E911C #2F1C91
analogous
#916A1C #7E911C #44911C
triadic
#7E911C #1C7E91 #911C7E
tetradic
#7E911C #1C916A #2F1C91 #911C44
square
#7E911C #1C916A #2F1C91 #911C44
split-complementary
#7E911C #1C4491 #6A1C91
monochromatic
#252A08 #515E12 #7E911C #ABC426 #C5DC4B

Accessibility & contrast

On white

3.53
#7E911C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#7E911C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E911C
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E911C#FFFFFF#000000##000000
##7E911C1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#86897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e911c;
/* rgb */ color: rgb(126, 145, 28);
/* oklch */ color: oklch(62.1% 0.136 119.0);
Tailwind
colors: {
  custom: {
    50: '#a7b164',
    500: '#7e911c',
    950: '#000000',
  },
}
SCSS
$custom: #7e911c;
$custom-light: #a7b164;
$custom-dark: #000000;
JSON
{
  "hex": "#7e911c",
  "rgb": {
    "r": 126,
    "g": 145,
    "b": 28
  },
  "hsl": {
    "h": 69.744,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62054,
    "c": 0.1362,
    "h": 119
  },
  "luminance": 0.2477
}

Semantic roles & 50–950 ramp

primary
#7E911C
secondary
#5D4ABE
accent
#3DEB59
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E911C

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

Preview Lab → · Contrast checker → · Palette generator →

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