#7F6819#7F6819

#7F6819 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.5% C 0.098 H 91.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7F6819
RGBrgb(127, 104, 25)
HSLhsl(46, 67%, 30%)
HSVhsv(46, 80%, 50%)
CMYKcmyk(0%, 18.1%, 80.3%, 50.2%)
CIE-LABlab(44.92, 0.71, 44.73)
CIE-LCHlch(44.92, 44.74, 89.08°)
OKLaboklab(52.55% -0.0029 0.0976)
OKLCHoklch(52.55% 0.098 91.7)
XYZxyz(13.8790, 14.4837, 2.9841)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6819 #19307F
analogous
#7F3519 #7F6819 #637F19
triadic
#7F6819 #197F68 #68197F
tetradic
#7F6819 #197F35 #19307F #7F1963
square
#7F6819 #197F35 #19307F #7F1963
split-complementary
#7F6819 #19637F #35197F
monochromatic
#1A1505 #4C3E0F #7F6819 #B29223 #D8B53A

Accessibility & contrast

On white

5.39
#7F6819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7F6819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6819
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6819#FFFFFF#000000##FFFFFF
##7F68191.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746609
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#8A5F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f6819;
/* rgb */ color: rgb(127, 104, 25);
/* oklch */ color: oklch(52.5% 0.098 91.7);
Tailwind
colors: {
  custom: {
    50: '#a8925d',
    500: '#7f6819',
    950: '#000000',
  },
}
SCSS
$custom: #7f6819;
$custom-light: #a8925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6819",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 46.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52548,
    "c": 0.09762,
    "h": 91.7
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#7F6819
secondary
#415AB3
accent
#65EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7F6819

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

Preview Lab → · Contrast checker → · Palette generator →

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