#7B861E#7B861E

#7B861E is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.2% C 0.123 H 115.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7B861E
RGBrgb(123, 134, 30)
HSLhsl(66, 63%, 32%)
HSVhsv(66, 78%, 53%)
CMYKcmyk(8.2%, 0%, 77.6%, 47.5%)
CIE-LABlab(53.34, -17.55, 50.61)
CIE-LCHlch(53.34, 53.57, 109.12°)
OKLaboklab(59.17% -0.0534 0.1113)
OKLCHoklch(59.17% 0.123 115.6)
XYZxyz(16.9283, 21.3552, 4.4582)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B861E #291E86
analogous
#865D1E #7B861E #47861E
triadic
#7B861E #1E7B86 #861E7B
tetradic
#7B861E #1E865D #291E86 #861E47
square
#7B861E #1E865D #291E86 #861E47
split-complementary
#7B861E #1E4786 #5D1E86
monochromatic
#1F2208 #4D5413 #7B861E #A9B829 #C7D648

Accessibility & contrast

On white

3.98
#7B861E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7B861E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B861E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B861E#FFFFFF#000000##000000
##7B861E1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#837E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b861e;
/* rgb */ color: rgb(123, 134, 30);
/* oklch */ color: oklch(59.2% 0.123 115.6);
Tailwind
colors: {
  custom: {
    50: '#a4a963',
    500: '#7b861e',
    950: '#000000',
  },
}
SCSS
$custom: #7b861e;
$custom-light: #a4a963;
$custom-dark: #000000;
JSON
{
  "hex": "#7b861e",
  "rgb": {
    "r": 123,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 66.346,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59172,
    "c": 0.12343,
    "h": 115.6
  },
  "luminance": 0.21355
}

Semantic roles & 50–950 ramp

primary
#7B861E
secondary
#5347B8
accent
#41E653
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7B861E

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

Preview Lab → · Contrast checker → · Palette generator →

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