#7F7513#7F7513

#7F7513 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.111 H 103.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7F7513
RGBrgb(127, 117, 19)
HSLhsl(54, 74%, 29%)
HSVhsv(54, 85%, 50%)
CMYKcmyk(0%, 7.9%, 85%, 50.2%)
CIE-LABlab(48.61, -6.92, 50.01)
CIE-LCHlch(48.61, 50.49, 97.88°)
OKLaboklab(55.47% -0.025 0.1077)
OKLCHoklch(55.47% 0.111 103.1)
XYZxyz(15.2320, 17.2823, 3.1495)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7513 #131D7F
analogous
#7F3F13 #7F7513 #537F13
triadic
#7F7513 #137F75 #75137F
tetradic
#7F7513 #137F3F #131D7F #7F1353
square
#7F7513 #137F3F #131D7F #7F1353
split-complementary
#7F7513 #13537F #3F137F
monochromatic
#1B1904 #4A440B #7F7513 #B4A61B #E0CF2D

Accessibility & contrast

On white

4.71
#7F7513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7F7513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7513
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7513#FFFFFF#000000##FFFFFF
##7F75131.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#84751C
Tritanopia (blue-blind)
#896C63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f7513;
/* rgb */ color: rgb(127, 117, 19);
/* oklch */ color: oklch(55.5% 0.111 103.1);
Tailwind
colors: {
  custom: {
    50: '#a89c5c',
    500: '#7f7513',
    950: '#000000',
  },
}
SCSS
$custom: #7f7513;
$custom-light: #a89c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7513",
  "rgb": {
    "r": 127,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 54.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55466,
    "c": 0.11053,
    "h": 103.1
  },
  "luminance": 0.17282
}

Semantic roles & 50–950 ramp

primary
#7F7513
secondary
#3945B4
accent
#48F137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7F7513

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

Preview Lab → · Contrast checker → · Palette generator →

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