#7F7613#7F7613

#7F7613 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.111 H 103.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7F7613
RGBrgb(127, 118, 19)
HSLhsl(55, 74%, 29%)
HSVhsv(55, 85%, 50%)
CMYKcmyk(0%, 7.1%, 85%, 50.2%)
CIE-LABlab(48.90, -7.48, 50.26)
CIE-LCHlch(48.90, 50.81, 98.46°)
OKLaboklab(55.7% -0.0266 0.1082)
OKLCHoklch(55.7% 0.111 103.8)
XYZxyz(15.3491, 17.5166, 3.1885)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7613 #131C7F
analogous
#7F4013 #7F7613 #527F13
triadic
#7F7613 #137F76 #76137F
tetradic
#7F7613 #137F40 #131C7F #7F1352
square
#7F7613 #137F40 #131C7F #7F1352
split-complementary
#7F7613 #13527F #40137F
monochromatic
#1B1904 #4A450B #7F7613 #B4A71B #E0D12D

Accessibility & contrast

On white

4.66
#7F7613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7F7613 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7613
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7613#FFFFFF#000000##FFFFFF
##7F76131.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#84761C
Tritanopia (blue-blind)
#896D64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f7613;
/* rgb */ color: rgb(127, 118, 19);
/* oklch */ color: oklch(55.7% 0.111 103.8);
Tailwind
colors: {
  custom: {
    50: '#a89d5c',
    500: '#7f7613',
    950: '#000000',
  },
}
SCSS
$custom: #7f7613;
$custom-light: #a89d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7613",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 19
  },
  "hsl": {
    "h": 55,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55697,
    "c": 0.11142,
    "h": 103.8
  },
  "luminance": 0.17516
}

Semantic roles & 50–950 ramp

primary
#7F7613
secondary
#3944B4
accent
#47F137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7F7613

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

Preview Lab → · Contrast checker → · Palette generator →

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