#7F6613#7F6613

#7F6613 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.1% C 0.100 H 90.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7F6613
RGBrgb(127, 102, 19)
HSLhsl(46, 74%, 29%)
HSVhsv(46, 85%, 50%)
CMYKcmyk(0%, 19.7%, 85%, 50.2%)
CIE-LABlab(44.32, 1.65, 46.32)
CIE-LCHlch(44.32, 46.35, 87.96°)
OKLaboklab(52.07% -0.0008 0.0996)
OKLCHoklch(52.07% 0.1 90.5)
XYZxyz(13.6221, 14.0627, 2.6129)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6613 #132C7F
analogous
#7F3013 #7F6613 #627F13
triadic
#7F6613 #137F66 #66137F
tetradic
#7F6613 #137F30 #132C7F #7F1362
square
#7F6613 #137F30 #132C7F #7F1362
split-complementary
#7F6613 #13627F #30137F
monochromatic
#1B1504 #4A3B0B #7F6613 #B4911B #E0B62D

Accessibility & contrast

On white

5.51
#7F6613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7F6613 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6613
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6613#FFFFFF#000000##FFFFFF
##7F66131.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#796C19
Tritanopia (blue-blind)
#8A5C57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f6613;
/* rgb */ color: rgb(127, 102, 19);
/* oklch */ color: oklch(52.1% 0.100 90.5);
Tailwind
colors: {
  custom: {
    50: '#a8915a',
    500: '#7f6613',
    950: '#000000',
  },
}
SCSS
$custom: #7f6613;
$custom-light: #a8915a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6613",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 19
  },
  "hsl": {
    "h": 46.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52067,
    "c": 0.09963,
    "h": 90.5
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#7F6613
secondary
#3956B4
accent
#62F137
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6613

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

Preview Lab → · Contrast checker → · Palette generator →

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