#7F7117#7F7117

#7F7117 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.105 H 99.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7F7117
RGBrgb(127, 113, 23)
HSLhsl(52, 69%, 29%)
HSVhsv(52, 82%, 50%)
CMYKcmyk(0%, 11%, 81.9%, 50.2%)
CIE-LABlab(47.48, -4.53, 47.77)
CIE-LCHlch(47.48, 47.98, 95.42°)
OKLaboklab(54.57% -0.0179 0.1037)
OKLCHoklch(54.57% 0.105 99.8)
XYZxyz(14.8129, 16.3849, 3.1928)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7117 #17257F
analogous
#7F3D17 #7F7117 #597F17
triadic
#7F7117 #177F71 #71177F
tetradic
#7F7117 #177F3D #17257F #7F1759
square
#7F7117 #177F3D #17257F #7F1759
split-complementary
#7F7117 #17597F #3D177F
monochromatic
#1A1705 #4B430E #7F7117 #B39F20 #DBC436

Accessibility & contrast

On white

4.91
#7F7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7F7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7117
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7117#FFFFFF#000000##FFFFFF
##7F71171.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#8A6860
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f7117;
/* rgb */ color: rgb(127, 113, 23);
/* oklch */ color: oklch(54.6% 0.105 99.8);
Tailwind
colors: {
  custom: {
    50: '#a8995d',
    500: '#7f7117',
    950: '#000000',
  },
}
SCSS
$custom: #7f7117;
$custom-light: #a8995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7117",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 51.923,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54568,
    "c": 0.10519,
    "h": 99.8
  },
  "luminance": 0.16384
}

Semantic roles & 50–950 ramp

primary
#7F7117
secondary
#3E4EB4
accent
#53EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7F7117

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

Preview Lab → · Contrast checker → · Palette generator →

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