#7E8A35#7E8A35

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

Color values

HEX#7E8A35
RGBrgb(126, 138, 53)
HSLhsl(68, 45%, 37%)
HSVhsv(68, 62%, 54%)
CMYKcmyk(8.7%, 0%, 61.6%, 45.9%)
CIE-LABlab(54.94, -16.86, 42.90)
CIE-LCHlch(54.94, 46.09, 111.46°)
OKLaboklab(60.57% -0.0494 0.0987)
OKLCHoklch(60.57% 0.11 116.6)
XYZxyz(18.3356, 22.8698, 6.8159)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A35 #41358A
analogous
#8A6C35 #7E8A35 #538A35
triadic
#7E8A35 #357E8A #8A357E
tetradic
#7E8A35 #358A6C #41358A #8A3553
square
#7E8A35 #358A6C #41358A #8A3553
split-complementary
#7E8A35 #35538A #6C358A
monochromatic
#2D3213 #565E24 #7E8A35 #A6B646 #BCC871

Accessibility & contrast

On white

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

On black

5.57
#7E8A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A35
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A35#FFFFFF#000000##000000
##7E8A351.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e8a35;
/* rgb */ color: rgb(126, 138, 53);
/* oklch */ color: oklch(60.6% 0.110 116.6);
Tailwind
colors: {
  custom: {
    50: '#a5ac70',
    500: '#7e8a35',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a35;
$custom-light: #a5ac70;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a35",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 68.471,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60572,
    "c": 0.11035,
    "h": 116.6
  },
  "luminance": 0.2287
}

Semantic roles & 50–950 ramp

primary
#7E8A35
secondary
#746AB1
accent
#54D466
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #7E8A35

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

Preview Lab → · Contrast checker → · Palette generator →

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