#7E892C#7E892C

#7E892C is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.2% C 0.117 H 115.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7E892C
RGBrgb(126, 137, 44)
HSLhsl(67, 51%, 35%)
HSVhsv(67, 68%, 54%)
CMYKcmyk(8%, 0%, 67.9%, 46.3%)
CIE-LABlab(54.56, -16.99, 46.50)
CIE-LCHlch(54.56, 49.51, 110.07°)
OKLaboklab(60.25% -0.0507 0.105)
OKLCHoklch(60.25% 0.117 115.8)
XYZxyz(18.0049, 22.5091, 5.7786)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E892C #372C89
analogous
#89652C #7E892C #4F892C
triadic
#7E892C #2C7E89 #892C7E
tetradic
#7E892C #2C8965 #372C89 #892C4F
square
#7E892C #2C8965 #372C89 #892C4F
split-complementary
#7E892C #2C4F89 #652C89
monochromatic
#292C0E #535B1D #7E892C #A9B73B #C0CD63

Accessibility & contrast

On white

3.82
#7E892C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7E892C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E892C
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E892C#FFFFFF#000000##000000
##7E892C1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821F
Deuteranopia (green-blind)
#928333
Tritanopia (blue-blind)
#868176
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e892c;
/* rgb */ color: rgb(126, 137, 44);
/* oklch */ color: oklch(60.2% 0.117 115.8);
Tailwind
colors: {
  custom: {
    50: '#a6ab6b',
    500: '#7e892c',
    950: '#000000',
  },
}
SCSS
$custom: #7e892c;
$custom-light: #a6ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e892c",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 44
  },
  "hsl": {
    "h": 67.097,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60246,
    "c": 0.11658,
    "h": 115.8
  },
  "luminance": 0.22509
}

Semantic roles & 50–950 ramp

primary
#7E892C
secondary
#685EB3
accent
#4DDB5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E892C

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

Preview Lab → · Contrast checker → · Palette generator →

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