#7B8249#7B8249

#7B8249 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.7% C 0.080 H 114.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7B8249
RGBrgb(123, 130, 73)
HSLhsl(67, 28%, 40%)
HSVhsv(67, 44%, 51%)
CMYKcmyk(5.4%, 0%, 43.8%, 49%)
CIE-LABlab(52.57, -11.92, 29.91)
CIE-LCHlch(52.57, 32.20, 111.72°)
OKLaboklab(58.7% -0.0332 0.0724)
OKLCHoklch(58.7% 0.08 114.6)
XYZxyz(17.3538, 20.6575, 9.3751)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8249 #504982
analogous
#826C49 #7B8249 #5F8249
triadic
#7B8249 #497B82 #82497B
tetradic
#7B8249 #49826C #504982 #82495F
square
#7B8249 #49826C #504982 #82495F
split-complementary
#7B8249 #495F82 #6C4982
monochromatic
#31341D #565B33 #7B8249 #9EA762 #B6BD89

Accessibility & contrast

On white

4.09
#7B8249 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7B8249 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8249
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8249#FFFFFF#000000##000000
##7B82491.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D44
Deuteranopia (green-blind)
#897E4C
Tritanopia (blue-blind)
#817C74
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b8249;
/* rgb */ color: rgb(123, 130, 73);
/* oklch */ color: oklch(58.7% 0.080 114.6);
Tailwind
colors: {
  custom: {
    50: '#a2a67d',
    500: '#7b8249',
    950: '#000000',
  },
}
SCSS
$custom: #7b8249;
$custom-light: #a2a67d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8249",
  "rgb": {
    "r": 123,
    "g": 130,
    "b": 73
  },
  "hsl": {
    "h": 67.368,
    "s": 28.079,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.07964,
    "h": 114.6
  },
  "luminance": 0.20657
}

Semantic roles & 50–950 ramp

primary
#7B8249
secondary
#837EA9
accent
#63C46F
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7B8249

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

Preview Lab → · Contrast checker → · Palette generator →

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