#7E7136#7E7136

#7E7136 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.8% C 0.081 H 97.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7E7136
RGBrgb(126, 113, 54)
HSLhsl(49, 40%, 35%)
HSVhsv(49, 57%, 49%)
CMYKcmyk(0%, 10.3%, 57.1%, 50.6%)
CIE-LABlab(47.64, -3.06, 34.14)
CIE-LCHlch(47.64, 34.28, 95.12°)
OKLaboklab(54.76% -0.01 0.0801)
OKLCHoklch(54.76% 0.081 97.1)
XYZxyz(15.1757, 16.5129, 5.8772)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7136 #36437E
analogous
#7E4D36 #7E7136 #677E36
triadic
#7E7136 #367E71 #71367E
tetradic
#7E7136 #367E4D #36437E #7E3667
square
#7E7136 #367E4D #36437E #7E3667
split-complementary
#7E7136 #36677E #4D367E
monochromatic
#282411 #534B24 #7E7136 #A99748 #C1B26E

Accessibility & contrast

On white

4.88
#7E7136 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7E7136 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7136
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7136#FFFFFF#000000##FFFFFF
##7E71361.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E30
Deuteranopia (green-blind)
#7E7339
Tritanopia (blue-blind)
#876A64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e7136;
/* rgb */ color: rgb(126, 113, 54);
/* oklch */ color: oklch(54.8% 0.081 97.1);
Tailwind
colors: {
  custom: {
    50: '#a5996f',
    500: '#7e7136',
    950: '#000000',
  },
}
SCSS
$custom: #7e7136;
$custom-light: #a5996f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7136",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 54
  },
  "hsl": {
    "h": 49.167,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.08067,
    "h": 97.1
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

primary
#7E7136
secondary
#6773A9
accent
#6ED058
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#100D07
muted
#7F7E7A

Preview Lab

Preview with #7E7136

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

Preview Lab → · Contrast checker → · Palette generator →

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