#7F7413#7F7413

#7F7413 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.2% C 0.110 H 102.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7F7413
RGBrgb(127, 116, 19)
HSLhsl(54, 74%, 29%)
HSVhsv(54, 85%, 50%)
CMYKcmyk(0%, 8.7%, 85%, 50.2%)
CIE-LABlab(48.32, -6.36, 49.76)
CIE-LCHlch(48.32, 50.17, 97.28°)
OKLaboklab(55.24% -0.0234 0.1071)
OKLCHoklch(55.24% 0.11 102.3)
XYZxyz(15.1161, 17.0505, 3.1108)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7413 #131E7F
analogous
#7F3E13 #7F7413 #547F13
triadic
#7F7413 #137F74 #74137F
tetradic
#7F7413 #137F3E #131E7F #7F1354
square
#7F7413 #137F3E #131E7F #7F1354
split-complementary
#7F7413 #13547F #3E137F
monochromatic
#1B1804 #4A430B #7F7413 #B4A51B #E0CD2D

Accessibility & contrast

On white

4.76
#7F7413 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7F7413 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7413
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7413#FFFFFF#000000##FFFFFF
##7F74131.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#83751C
Tritanopia (blue-blind)
#896B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f7413;
/* rgb */ color: rgb(127, 116, 19);
/* oklch */ color: oklch(55.2% 0.110 102.3);
Tailwind
colors: {
  custom: {
    50: '#a89b5c',
    500: '#7f7413',
    950: '#000000',
  },
}
SCSS
$custom: #7f7413;
$custom-light: #a89b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7413",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 19
  },
  "hsl": {
    "h": 53.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55235,
    "c": 0.10966,
    "h": 102.3
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#7F7413
secondary
#3946B4
accent
#4AF137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7F7413

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

Preview Lab → · Contrast checker → · Palette generator →

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