#7F751D#7F751D

#7F751D is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.105 H 102.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7F751D
RGBrgb(127, 117, 29)
HSLhsl(54, 63%, 31%)
HSVhsv(54, 77%, 50%)
CMYKcmyk(0%, 7.9%, 77.2%, 50.2%)
CIE-LABlab(48.67, -6.53, 46.72)
CIE-LCHlch(48.67, 47.18, 97.95°)
OKLaboklab(55.52% -0.023 0.1027)
OKLCHoklch(55.52% 0.105 102.6)
XYZxyz(15.3362, 17.3240, 3.6982)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F751D #1D277F
analogous
#7F441D #7F751D #587F1D
triadic
#7F751D #1D7F75 #751D7F
tetradic
#7F751D #1D7F44 #1D277F #7F1D58
square
#7F751D #1D7F44 #1D277F #7F1D58
split-complementary
#7F751D #1D587F #441D7F
monochromatic
#1B1906 #4D4712 #7F751D #B1A328 #D4C542

Accessibility & contrast

On white

4.70
#7F751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7F751D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F751D
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F751D#FFFFFF#000000##FFFFFF
##7F751D1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#837623
Tritanopia (blue-blind)
#896C64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f751d;
/* rgb */ color: rgb(127, 117, 29);
/* oklch */ color: oklch(55.5% 0.105 102.6);
Tailwind
colors: {
  custom: {
    50: '#a79c60',
    500: '#7f751d',
    950: '#000000',
  },
}
SCSS
$custom: #7f751d;
$custom-light: #a79c60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f751d",
  "rgb": {
    "r": 127,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 53.878,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55524,
    "c": 0.10522,
    "h": 102.6
  },
  "luminance": 0.17323
}

Semantic roles & 50–950 ramp

primary
#7F751D
secondary
#4551B2
accent
#53E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F751D

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

Preview Lab → · Contrast checker → · Palette generator →

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