#7F893E#7F893E

#7F893E is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.5% C 0.100 H 115.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7F893E
RGBrgb(127, 137, 62)
HSLhsl(68, 38%, 39%)
HSVhsv(68, 55%, 54%)
CMYKcmyk(7.3%, 0%, 54.7%, 46.3%)
CIE-LABlab(54.82, -15.12, 38.43)
CIE-LCHlch(54.82, 41.30, 111.47°)
OKLaboklab(60.52% -0.0436 0.0902)
OKLCHoklch(60.52% 0.1 115.8)
XYZxyz(18.5679, 22.7514, 7.9698)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F893E #483E89
analogous
#896E3E #7F893E #5A893E
triadic
#7F893E #3E7F89 #893E7F
tetradic
#7F893E #3E896E #483E89 #893E5A
square
#7F893E #3E896E #483E89 #893E5A
split-complementary
#7F893E #3E5A89 #6E3E89
monochromatic
#313518 #585F2B #7F893E #A5B153 #BBC47D

Accessibility & contrast

On white

3.78
#7F893E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7F893E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F893E
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F893E#FFFFFF#000000##000000
##7F893E1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928337
Deuteranopia (green-blind)
#918442
Tritanopia (blue-blind)
#868278
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7f893e;
/* rgb */ color: rgb(127, 137, 62);
/* oklch */ color: oklch(60.5% 0.100 115.8);
Tailwind
colors: {
  custom: {
    50: '#a6ab76',
    500: '#7f893e',
    950: '#000000',
  },
}
SCSS
$custom: #7f893e;
$custom-light: #a6ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#7f893e",
  "rgb": {
    "r": 127,
    "g": 137,
    "b": 62
  },
  "hsl": {
    "h": 68,
    "s": 37.688,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60523,
    "c": 0.10017,
    "h": 115.8
  },
  "luminance": 0.22751
}

Semantic roles & 50–950 ramp

primary
#7F893E
secondary
#7C74AE
accent
#5ACE6A
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7F893E

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

Preview Lab → · Contrast checker → · Palette generator →

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