#7F6413#7F6413

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

Color values

HEX#7F6413
RGBrgb(127, 100, 19)
HSLhsl(45, 74%, 29%)
HSVhsv(45, 85%, 50%)
CMYKcmyk(0%, 21.3%, 85%, 50.2%)
CIE-LABlab(43.76, 2.82, 45.83)
CIE-LCHlch(43.76, 45.92, 86.48°)
OKLaboklab(51.63% 0.0025 0.0986)
OKLCHoklch(51.63% 0.099 88.6)
XYZxyz(13.4280, 13.6743, 2.5481)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6413 #132E7F
analogous
#7F2E13 #7F6413 #647F13
triadic
#7F6413 #137F64 #64137F
tetradic
#7F6413 #137F2E #132E7F #7F1364
square
#7F6413 #137F2E #132E7F #7F1364
split-complementary
#7F6413 #13647F #2E137F
monochromatic
#1B1504 #4A3A0B #7F6413 #B48E1B #E0B32D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F6413#FFFFFF#000000##FFFFFF
##7F64131.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)
#786A18
Tritanopia (blue-blind)
#8A5A55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f6413;
/* rgb */ color: rgb(127, 100, 19);
/* oklch */ color: oklch(51.6% 0.099 88.6);
Tailwind
colors: {
  custom: {
    50: '#a88f59',
    500: '#7f6413',
    950: '#000000',
  },
}
SCSS
$custom: #7f6413;
$custom-light: #a88f59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6413",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 19
  },
  "hsl": {
    "h": 45,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.0986,
    "h": 88.6
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#7F6413
secondary
#3958B4
accent
#66F137
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6413

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

Preview Lab → · Contrast checker → · Palette generator →

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