#7B975F#7B975F

#7B975F is a light, moderate yellow-green. Relative luminance 0.272; OKLCH L 64.1% C 0.085 H 130.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7B975F
RGBrgb(123, 151, 95)
HSLhsl(90, 23%, 48%)
HSVhsv(90, 37%, 59%)
CMYKcmyk(18.5%, 0%, 37.1%, 40.8%)
CIE-LABlab(59.13, -20.14, 26.37)
CIE-LCHlch(59.13, 33.18, 127.37°)
OKLaboklab(64.06% -0.055 0.0653)
OKLCHoklch(64.06% 0.085 130.1)
XYZxyz(21.3002, 27.1701, 14.9464)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B975F #7B5F97
analogous
#97975F #7B975F #5F975F
triadic
#7B975F #5F7B97 #975F7B
tetradic
#7B975F #5F9797 #7B5F97 #975F5F
square
#7B975F #5F9797 #7B5F97 #975F5F
split-complementary
#7B975F #5F5F97 #975F97
monochromatic
#3E4C30 #5C7147 #7B975F #9AB183 #B8C8A8

Accessibility & contrast

On white

3.26
#7B975F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#7B975F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B975F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B975F#FFFFFF#000000##000000
##7B975F1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C905B
Deuteranopia (green-blind)
#988E62
Tritanopia (blue-blind)
#7D9289
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b975f;
/* rgb */ color: rgb(123, 151, 95);
/* oklch */ color: oklch(64.1% 0.085 130.1);
Tailwind
colors: {
  custom: {
    50: '#a2b58d',
    500: '#7b975f',
    950: '#000000',
  },
}
SCSS
$custom: #7b975f;
$custom-light: #a2b58d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b975f",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 95
  },
  "hsl": {
    "h": 90,
    "s": 22.764,
    "l": 48.235
  },
  "oklch": {
    "l": 0.64061,
    "c": 0.08537,
    "h": 130.1
  },
  "luminance": 0.2717
}

Semantic roles & 50–950 ramp

primary
#7B975F
secondary
#A99BB7
accent
#69BF94
background
#FAFBF8
surface
#F3F6F0
border
#CDD0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7B975F

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

Preview Lab → · Contrast checker → · Palette generator →

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