#7B845F#7B845F

#7B845F is a mid, muted yellow-green. Relative luminance 0.215; OKLCH L 59.6% C 0.055 H 119.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7B845F
RGBrgb(123, 132, 95)
HSLhsl(75, 16%, 45%)
HSVhsv(75, 28%, 52%)
CMYKcmyk(6.8%, 0%, 28%, 48.2%)
CIE-LABlab(53.54, -10.03, 18.92)
CIE-LCHlch(53.54, 21.42, 117.93°)
OKLaboklab(59.59% -0.0266 0.0477)
OKLCHoklch(59.59% 0.055 119.2)
XYZxyz(18.4851, 21.5398, 14.0080)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B845F #685F84
analogous
#847B5F #7B845F #68845F
triadic
#7B845F #5F7B84 #845F7B
tetradic
#7B845F #5F847B #685F84 #845F68
square
#7B845F #5F847B #685F84 #845F68
split-complementary
#7B845F #5F6884 #7B5F84
monochromatic
#393D2C #5A6045 #7B845F #99A27E #B5BCA2

Accessibility & contrast

On white

3.96
#7B845F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7B845F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B845F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B845F#FFFFFF#000000##000000
##7B845F1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89805D
Deuteranopia (green-blind)
#888061
Tritanopia (blue-blind)
#7F807A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7b845f;
/* rgb */ color: rgb(123, 132, 95);
/* oklch */ color: oklch(59.6% 0.055 119.2);
Tailwind
colors: {
  custom: {
    50: '#a1a78c',
    500: '#7b845f',
    950: '#000000',
  },
}
SCSS
$custom: #7b845f;
$custom-light: #a1a78c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b845f",
  "rgb": {
    "r": 123,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 74.595,
    "s": 16.3,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.0546,
    "h": 119.2
  },
  "luminance": 0.2154
}

Semantic roles & 50–950 ramp

primary
#7B845F
secondary
#9A94AA
accent
#6FB981
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F0F0C
muted
#7E7F7D

Preview Lab

Preview with #7B845F

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

Preview Lab → · Contrast checker → · Palette generator →

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