#7F6B13#7F6B13

#7F6B13 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.2% C 0.103 H 95.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7F6B13
RGBrgb(127, 107, 19)
HSLhsl(49, 74%, 29%)
HSVhsv(49, 85%, 50%)
CMYKcmyk(0%, 15.7%, 85%, 50.2%)
CIE-LABlab(45.74, -1.25, 47.54)
CIE-LCHlch(45.74, 47.56, 91.50°)
OKLaboklab(53.18% -0.0091 0.1023)
OKLCHoklch(53.18% 0.103 95.1)
XYZxyz(14.1284, 15.0753, 2.7816)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6B13 #13277F
analogous
#7F3513 #7F6B13 #5D7F13
triadic
#7F6B13 #137F6B #6B137F
tetradic
#7F6B13 #137F35 #13277F #7F135D
square
#7F6B13 #137F35 #13277F #7F135D
split-complementary
#7F6B13 #135D7F #35137F
monochromatic
#1B1604 #4A3E0B #7F6B13 #B4981B #E0BE2D

Accessibility & contrast

On white

5.23
#7F6B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7F6B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6B13
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6B13#FFFFFF#000000##FFFFFF
##7F6B131.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#7C6F1A
Tritanopia (blue-blind)
#8A625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7f6b13;
/* rgb */ color: rgb(127, 107, 19);
/* oklch */ color: oklch(53.2% 0.103 95.1);
Tailwind
colors: {
  custom: {
    50: '#a8955a',
    500: '#7f6b13',
    950: '#000000',
  },
}
SCSS
$custom: #7f6b13;
$custom-light: #a8955a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6b13",
  "rgb": {
    "r": 127,
    "g": 107,
    "b": 19
  },
  "hsl": {
    "h": 48.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53184,
    "c": 0.10269,
    "h": 95.1
  },
  "luminance": 0.15074
}

Semantic roles & 50–950 ramp

primary
#7F6B13
secondary
#3950B4
accent
#5AF137
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6B13

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

Preview Lab → · Contrast checker → · Palette generator →

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