#7E8735#7E8735

#7E8735 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 59.9% C 0.107 H 114.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7E8735
RGBrgb(126, 135, 53)
HSLhsl(67, 44%, 37%)
HSVhsv(67, 61%, 53%)
CMYKcmyk(6.7%, 0%, 60.7%, 47.1%)
CIE-LABlab(54.05, -15.28, 41.92)
CIE-LCHlch(54.05, 44.61, 110.03°)
OKLaboklab(59.86% -0.0449 0.0966)
OKLCHoklch(59.86% 0.107 114.9)
XYZxyz(17.9111, 22.0209, 6.6744)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8735 #3E3587
analogous
#876735 #7E8735 #558735
triadic
#7E8735 #357E87 #87357E
tetradic
#7E8735 #358767 #3E3587 #873555
square
#7E8735 #358767 #3E3587 #873555
split-complementary
#7E8735 #355587 #673587
monochromatic
#2C2F12 #555B24 #7E8735 #A7B346 #BDC770

Accessibility & contrast

On white

3.89
#7E8735 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7E8735 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8735
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8735#FFFFFF#000000##000000
##7E87351.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812C
Deuteranopia (green-blind)
#90823A
Tritanopia (blue-blind)
#868075
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e8735;
/* rgb */ color: rgb(126, 135, 53);
/* oklch */ color: oklch(59.9% 0.107 114.9);
Tailwind
colors: {
  custom: {
    50: '#a5a970',
    500: '#7e8735',
    950: '#000000',
  },
}
SCSS
$custom: #7e8735;
$custom-light: #a5a970;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8735",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 53
  },
  "hsl": {
    "h": 66.585,
    "s": 43.617,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5986,
    "c": 0.10654,
    "h": 114.9
  },
  "luminance": 0.22021
}

Semantic roles & 50–950 ramp

primary
#7E8735
secondary
#7069AF
accent
#54D362
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #7E8735

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

Preview Lab → · Contrast checker → · Palette generator →

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