#7F7313#7F7313

#7F7313 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.109 H 101.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7F7313
RGBrgb(127, 115, 19)
HSLhsl(53, 74%, 29%)
HSVhsv(53, 85%, 50%)
CMYKcmyk(0%, 9.4%, 85%, 50.2%)
CIE-LABlab(48.03, -5.80, 49.51)
CIE-LCHlch(48.03, 49.85, 96.68°)
OKLaboklab(55.01% -0.0219 0.1066)
OKLCHoklch(55.01% 0.109 101.6)
XYZxyz(15.0014, 16.8212, 3.0726)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7313 #131F7F
analogous
#7F3D13 #7F7313 #557F13
triadic
#7F7313 #137F73 #73137F
tetradic
#7F7313 #137F3D #131F7F #7F1355
square
#7F7313 #137F3D #131F7F #7F1355
split-complementary
#7F7313 #13557F #3D137F
monochromatic
#1B1804 #4A430B #7F7313 #B4A31B #E0CC2D

Accessibility & contrast

On white

4.81
#7F7313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7F7313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7313
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7313#FFFFFF#000000##FFFFFF
##7F73131.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#82741B
Tritanopia (blue-blind)
#896A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f7313;
/* rgb */ color: rgb(127, 115, 19);
/* oklch */ color: oklch(55.0% 0.109 101.6);
Tailwind
colors: {
  custom: {
    50: '#a89a5c',
    500: '#7f7313',
    950: '#000000',
  },
}
SCSS
$custom: #7f7313;
$custom-light: #a89a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7313",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 53.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.1088,
    "h": 101.6
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#7F7313
secondary
#3947B4
accent
#4CF137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7F7313

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

Preview Lab → · Contrast checker → · Palette generator →

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