#7E891E#7E891E

#7E891E is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.1% C 0.126 H 115.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7E891E
RGBrgb(126, 137, 30)
HSLhsl(66, 64%, 33%)
HSVhsv(66, 78%, 54%)
CMYKcmyk(8%, 0%, 78.1%, 46.3%)
CIE-LABlab(54.47, -17.77, 51.75)
CIE-LCHlch(54.47, 54.72, 108.95°)
OKLaboklab(60.14% -0.0542 0.1136)
OKLCHoklch(60.14% 0.126 115.5)
XYZxyz(17.7847, 22.4210, 4.6188)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E891E #291E89
analogous
#895E1E #7E891E #49891E
triadic
#7E891E #1E7E89 #891E7E
tetradic
#7E891E #1E895E #291E89 #891E49
square
#7E891E #1E895E #291E89 #891E49
split-complementary
#7E891E #1E4989 #5E1E89
monochromatic
#222508 #505713 #7E891E #ACBB29 #C9D74A

Accessibility & contrast

On white

3.83
#7E891E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7E891E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E891E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E891E#FFFFFF#000000##000000
##7E891E1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938203
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#878175
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e891e;
/* rgb */ color: rgb(126, 137, 30);
/* oklch */ color: oklch(60.1% 0.126 115.5);
Tailwind
colors: {
  custom: {
    50: '#a7ab63',
    500: '#7e891e',
    950: '#000000',
  },
}
SCSS
$custom: #7e891e;
$custom-light: #a7ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e891e",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 66.168,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60143,
    "c": 0.12586,
    "h": 115.5
  },
  "luminance": 0.22421
}

Semantic roles & 50–950 ramp

primary
#7E891E
secondary
#5549BA
accent
#41E752
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E891E

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

Preview Lab → · Contrast checker → · Palette generator →

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