#7F6412#7F6412

#7F6412 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.6% C 0.099 H 88.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7F6412
RGBrgb(127, 100, 18)
HSLhsl(45, 75%, 28%)
HSVhsv(45, 86%, 50%)
CMYKcmyk(0%, 21.3%, 85.8%, 50.2%)
CIE-LABlab(43.76, 2.78, 46.15)
CIE-LCHlch(43.76, 46.24, 86.55°)
OKLaboklab(51.62% 0.0023 0.099)
OKLCHoklch(51.62% 0.099 88.7)
XYZxyz(13.4196, 13.6710, 2.5041)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6412 #122D7F
analogous
#7F2E12 #7F6412 #637F12
triadic
#7F6412 #127F64 #64127F
tetradic
#7F6412 #127F2E #122D7F #7F1263
square
#7F6412 #127F2E #122D7F #7F1263
split-complementary
#7F6412 #12637F #2E127F
monochromatic
#1B1504 #493A0A #7F6412 #B58E1A #E1B42B

Accessibility & contrast

On white

5.62
#7F6412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7F6412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6412
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6412#FFFFFF#000000##FFFFFF
##7F64121.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#786A17
Tritanopia (blue-blind)
#8A5A55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f6412;
/* rgb */ color: rgb(127, 100, 18);
/* oklch */ color: oklch(51.6% 0.099 88.7);
Tailwind
colors: {
  custom: {
    50: '#a88f59',
    500: '#7f6412',
    950: '#000000',
  },
}
SCSS
$custom: #7f6412;
$custom-light: #a88f59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6412",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 45.138,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5162,
    "c": 0.09907,
    "h": 88.7
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

primary
#7F6412
secondary
#3857B5
accent
#65F236
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6412

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

Preview Lab → · Contrast checker → · Palette generator →

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