#7F7118#7F7118

#7F7118 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#7F7118
RGBrgb(127, 113, 24)
HSLhsl(52, 68%, 30%)
HSVhsv(52, 81%, 50%)
CMYKcmyk(0%, 11%, 81.1%, 50.2%)
CIE-LABlab(47.48, -4.49, 47.43)
CIE-LCHlch(47.48, 47.64, 95.41°)
OKLaboklab(54.57% -0.0177 0.1031)
OKLCHoklch(54.57% 0.105 99.8)
XYZxyz(14.8231, 16.3890, 3.2466)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7118 #18267F
analogous
#7F3E18 #7F7118 #597F18
triadic
#7F7118 #187F71 #71187F
tetradic
#7F7118 #187F3E #18267F #7F1859
square
#7F7118 #187F3E #18267F #7F1859
split-complementary
#7F7118 #18597F #3E187F
monochromatic
#1A1705 #4C430E #7F7118 #B29F22 #D9C338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F7118#FFFFFF#000000##FFFFFF
##7F71181.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)
#7D6E03
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#8A6860
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f7118;
/* rgb */ color: rgb(127, 113, 24);
/* oklch */ color: oklch(54.6% 0.105 99.8);
Tailwind
colors: {
  custom: {
    50: '#a8995d',
    500: '#7f7118',
    950: '#000000',
  },
}
SCSS
$custom: #7f7118;
$custom-light: #a8995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7118",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 51.845,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54573,
    "c": 0.10465,
    "h": 99.8
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#7F7118
secondary
#3F4FB3
accent
#54EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7F7118

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

Preview Lab → · Contrast checker → · Palette generator →

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