#7F7119#7F7119

#7F7119 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.104 H 99.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7F7119
RGBrgb(127, 113, 25)
HSLhsl(52, 67%, 30%)
HSVhsv(52, 80%, 50%)
CMYKcmyk(0%, 11%, 80.3%, 50.2%)
CIE-LABlab(47.49, -4.45, 47.09)
CIE-LCHlch(47.49, 47.30, 95.40°)
OKLaboklab(54.58% -0.0175 0.1026)
OKLCHoklch(54.58% 0.104 99.7)
XYZxyz(14.8337, 16.3932, 3.3024)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7119 #19277F
analogous
#7F3E19 #7F7119 #5A7F19
triadic
#7F7119 #197F71 #71197F
tetradic
#7F7119 #197F3E #19277F #7F195A
square
#7F7119 #197F3E #19277F #7F195A
split-complementary
#7F7119 #195A7F #3E197F
monochromatic
#1A1705 #4C440F #7F7119 #B29E23 #D8C33A

Accessibility & contrast

On white

4.91
#7F7119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7F7119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7119
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7119#FFFFFF#000000##FFFFFF
##7F71191.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#896860
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f7119;
/* rgb */ color: rgb(127, 113, 25);
/* oklch */ color: oklch(54.6% 0.104 99.7);
Tailwind
colors: {
  custom: {
    50: '#a8995e',
    500: '#7f7119',
    950: '#000000',
  },
}
SCSS
$custom: #7f7119;
$custom-light: #a8995e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7119",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 51.765,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5458,
    "c": 0.10411,
    "h": 99.7
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#7F7119
secondary
#4150B3
accent
#55EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7F7119

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

Preview Lab → · Contrast checker → · Palette generator →

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