#7F6719#7F6719

#7F6719 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.3% C 0.097 H 90.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7F6719
RGBrgb(127, 103, 25)
HSLhsl(46, 67%, 30%)
HSVhsv(46, 80%, 50%)
CMYKcmyk(0%, 18.9%, 80.3%, 50.2%)
CIE-LABlab(44.64, 1.29, 44.47)
CIE-LCHlch(44.64, 44.49, 88.33°)
OKLaboklab(52.33% -0.0012 0.097)
OKLCHoklch(52.33% 0.097 90.7)
XYZxyz(13.7789, 14.2836, 2.9508)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6719 #19317F
analogous
#7F3419 #7F6719 #647F19
triadic
#7F6719 #197F67 #67197F
tetradic
#7F6719 #197F34 #19317F #7F1964
square
#7F6719 #197F34 #19317F #7F1964
split-complementary
#7F6719 #19647F #34197F
monochromatic
#1A1505 #4C3E0F #7F6719 #B29023 #D8B33A

Accessibility & contrast

On white

5.45
#7F6719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7F6719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6719
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6719#FFFFFF#000000##FFFFFF
##7F67191.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746609
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#8A5E58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f6719;
/* rgb */ color: rgb(127, 103, 25);
/* oklch */ color: oklch(52.3% 0.097 90.7);
Tailwind
colors: {
  custom: {
    50: '#a8925d',
    500: '#7f6719',
    950: '#000000',
  },
}
SCSS
$custom: #7f6719;
$custom-light: #a8925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6719",
  "rgb": {
    "r": 127,
    "g": 103,
    "b": 25
  },
  "hsl": {
    "h": 45.882,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.09703,
    "h": 90.7
  },
  "luminance": 0.14283
}

Semantic roles & 50–950 ramp

primary
#7F6719
secondary
#415CB3
accent
#66EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6719

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

Preview Lab → · Contrast checker → · Palette generator →

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