#7B882E#7B882E

#7B882E is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 59.8% C 0.115 H 117.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7B882E
RGBrgb(123, 136, 46)
HSLhsl(69, 49%, 36%)
HSVhsv(69, 66%, 53%)
CMYKcmyk(9.6%, 0%, 66.2%, 46.7%)
CIE-LABlab(54.04, -17.65, 45.03)
CIE-LCHlch(54.04, 48.36, 111.41°)
OKLaboklab(59.78% -0.0521 0.1023)
OKLCHoklch(59.78% 0.115 117)
XYZxyz(17.4660, 22.0167, 5.9138)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B882E #3B2E88
analogous
#88682E #7B882E #4E882E
triadic
#7B882E #2E7B88 #882E7B
tetradic
#7B882E #2E8868 #3B2E88 #882E4E
square
#7B882E #2E8868 #3B2E88 #882E4E
split-complementary
#7B882E #2E4E88 #682E88
monochromatic
#282D0F #525A1F #7B882E #A4B63D #BCCB65

Accessibility & contrast

On white

3.89
#7B882E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7B882E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B882E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B882E#FFFFFF#000000##000000
##7B882E1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#828075
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b882e;
/* rgb */ color: rgb(123, 136, 46);
/* oklch */ color: oklch(59.8% 0.115 117.0);
Tailwind
colors: {
  custom: {
    50: '#a4aa6c',
    500: '#7b882e',
    950: '#000000',
  },
}
SCSS
$custom: #7b882e;
$custom-light: #a4aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b882e",
  "rgb": {
    "r": 123,
    "g": 136,
    "b": 46
  },
  "hsl": {
    "h": 68.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59776,
    "c": 0.11479,
    "h": 117
  },
  "luminance": 0.22017
}

Semantic roles & 50–950 ramp

primary
#7B882E
secondary
#6C60B2
accent
#4FD963
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B882E

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

Preview Lab → · Contrast checker → · Palette generator →

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