#7F7114#7F7114

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

Color values

HEX#7F7114
RGBrgb(127, 113, 20)
HSLhsl(52, 73%, 29%)
HSVhsv(52, 84%, 50%)
CMYKcmyk(0%, 11%, 84.3%, 50.2%)
CIE-LABlab(47.46, -4.64, 48.72)
CIE-LCHlch(47.46, 48.94, 95.44°)
OKLaboklab(54.55% -0.0185 0.1051)
OKLCHoklch(54.55% 0.107 100)
XYZxyz(14.7845, 16.3735, 3.0433)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7114 #14227F
analogous
#7F3C14 #7F7114 #587F14
triadic
#7F7114 #147F71 #71147F
tetradic
#7F7114 #147F3C #14227F #7F1458
square
#7F7114 #147F3C #14227F #7F1458
split-complementary
#7F7114 #14587F #3C147F
monochromatic
#1A1804 #4A420C #7F7114 #B4A01C #DEC72F

Accessibility & contrast

On white

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

On black

4.27
#7F7114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F7114#FFFFFF#000000##FFFFFF
##7F71141.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#81731C
Tritanopia (blue-blind)
#8A6860
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f7114;
/* rgb */ color: rgb(127, 113, 20);
/* oklch */ color: oklch(54.6% 0.107 100.0);
Tailwind
colors: {
  custom: {
    50: '#a8995c',
    500: '#7f7114',
    950: '#000000',
  },
}
SCSS
$custom: #7f7114;
$custom-light: #a8995c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7114",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 52.15,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54551,
    "c": 0.10669,
    "h": 100
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#7F7114
secondary
#3B4AB4
accent
#50EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F7114

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

Preview Lab → · Contrast checker → · Palette generator →

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