#7F7B60#7F7B60

#7F7B60 is a mid, muted yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.040 H 100.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7F7B60
RGBrgb(127, 123, 96)
HSLhsl(52, 14%, 44%)
HSVhsv(52, 24%, 50%)
CMYKcmyk(0%, 3.1%, 24.4%, 50.2%)
CIE-LABlab(51.29, -3.21, 15.35)
CIE-LCHlch(51.29, 15.68, 101.81°)
OKLaboklab(57.9% -0.0072 0.039)
OKLCHoklch(57.9% 0.04 100.5)
XYZxyz(17.9467, 19.5228, 13.8869)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7B60 #60647F
analogous
#7F6B60 #7F7B60 #737F60
triadic
#7F7B60 #607F7B #7B607F
tetradic
#7F7B60 #607F6B #60647F #7F6073
square
#7F7B60 #607F6B #60647F #7F6073
split-complementary
#7F7B60 #60737F #6B607F
monochromatic
#39372B #5C5946 #7F7B60 #9E9A7E #B8B5A1

Accessibility & contrast

On white

4.28
#7F7B60 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7F7B60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7B60
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7B60#FFFFFF#000000##000000
##7F7B601.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80795E
Deuteranopia (green-blind)
#827B61
Tritanopia (blue-blind)
#847774
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f7b60;
/* rgb */ color: rgb(127, 123, 96);
/* oklch */ color: oklch(57.9% 0.040 100.5);
Tailwind
colors: {
  custom: {
    50: '#a4a18d',
    500: '#7f7b60',
    950: '#000000',
  },
}
SCSS
$custom: #7f7b60;
$custom-light: #a4a18d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7b60",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 96
  },
  "hsl": {
    "h": 52.258,
    "s": 13.901,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57899,
    "c": 0.03969,
    "h": 100.5
  },
  "luminance": 0.19522
}

Semantic roles & 50–950 ramp

primary
#7F7B60
secondary
#9496A7
accent
#7AB771
background
#FAF9F8
surface
#F4F2F0
border
#CECCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #7F7B60

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

Preview Lab → · Contrast checker → · Palette generator →

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