#7F6A13#7F6A13

#7F6A13 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 53.0% C 0.102 H 94.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7F6A13
RGBrgb(127, 106, 19)
HSLhsl(48, 74%, 29%)
HSVhsv(48, 85%, 50%)
CMYKcmyk(0%, 16.5%, 85%, 50.2%)
CIE-LABlab(45.45, -0.67, 47.29)
CIE-LCHlch(45.45, 47.30, 90.81°)
OKLaboklab(52.96% -0.0074 0.1018)
OKLCHoklch(52.96% 0.102 94.2)
XYZxyz(14.0248, 14.8680, 2.7471)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6A13 #13287F
analogous
#7F3413 #7F6A13 #5E7F13
triadic
#7F6A13 #137F6A #6A137F
tetradic
#7F6A13 #137F34 #13287F #7F135E
square
#7F6A13 #137F34 #13287F #7F135E
split-complementary
#7F6A13 #135E7F #34137F
monochromatic
#1B1604 #4A3E0B #7F6A13 #B4961B #E0BD2D

Accessibility & contrast

On white

5.29
#7F6A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7F6A13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6A13
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6A13#FFFFFF#000000##FFFFFF
##7F6A131.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#7C6E19
Tritanopia (blue-blind)
#8A615A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7f6a13;
/* rgb */ color: rgb(127, 106, 19);
/* oklch */ color: oklch(53.0% 0.102 94.2);
Tailwind
colors: {
  custom: {
    50: '#a8945a',
    500: '#7f6a13',
    950: '#000000',
  },
}
SCSS
$custom: #7f6a13;
$custom-light: #a8945a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6a13",
  "rgb": {
    "r": 127,
    "g": 106,
    "b": 19
  },
  "hsl": {
    "h": 48.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.10203,
    "h": 94.2
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#7F6A13
secondary
#3951B4
accent
#5BF137
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6A13

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

Preview Lab → · Contrast checker → · Palette generator →

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