#7F751E#7F751E

#7F751E 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#7F751E
RGBrgb(127, 117, 30)
HSLhsl(54, 62%, 31%)
HSVhsv(54, 76%, 50%)
CMYKcmyk(0%, 7.9%, 76.4%, 50.2%)
CIE-LABlab(48.67, -6.48, 46.35)
CIE-LCHlch(48.67, 46.80, 97.96°)
OKLaboklab(55.53% -0.0227 0.1021)
OKLCHoklch(55.53% 0.105 102.6)
XYZxyz(15.3487, 17.3290, 3.7644)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F751E #1E287F
analogous
#7F441E #7F751E #587F1E
triadic
#7F751E #1E7F75 #751E7F
tetradic
#7F751E #1E7F44 #1E287F #7F1E58
square
#7F751E #1E7F44 #1E287F #7F1E58
split-complementary
#7F751E #1E587F #441E7F
monochromatic
#1C1A07 #4D4712 #7F751E #B1A32A #D3C444

Accessibility & contrast

On white

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

On black

4.47
#7F751E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F751E#FFFFFF#000000##FFFFFF
##7F751E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f751e;
/* rgb */ color: rgb(127, 117, 30);
/* oklch */ color: oklch(55.5% 0.105 102.6);
Tailwind
colors: {
  custom: {
    50: '#a79c61',
    500: '#7f751e',
    950: '#000000',
  },
}
SCSS
$custom: #7f751e;
$custom-light: #a79c61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f751e",
  "rgb": {
    "r": 127,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 53.814,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.10459,
    "h": 102.6
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#7F751E
secondary
#4752B2
accent
#54E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F751E

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

Preview Lab → · Contrast checker → · Palette generator →

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