#7F6718#7F6718

#7F6718 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.3% C 0.098 H 90.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7F6718
RGBrgb(127, 103, 24)
HSLhsl(46, 68%, 30%)
HSVhsv(46, 81%, 50%)
CMYKcmyk(0%, 18.9%, 81.1%, 50.2%)
CIE-LABlab(44.63, 1.25, 44.84)
CIE-LCHlch(44.63, 44.86, 88.40°)
OKLaboklab(52.32% -0.0014 0.0976)
OKLCHoklch(52.32% 0.098 90.9)
XYZxyz(13.7683, 14.2793, 2.8950)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6718 #18307F
analogous
#7F3318 #7F6718 #647F18
triadic
#7F6718 #187F67 #67187F
tetradic
#7F6718 #187F33 #18307F #7F1864
square
#7F6718 #187F33 #18307F #7F1864
split-complementary
#7F6718 #18647F #33187F
monochromatic
#1A1505 #4C3D0E #7F6718 #B29122 #D9B438

Accessibility & contrast

On white

5.45
#7F6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7F6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6718
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6718#FFFFFF#000000##FFFFFF
##7F67181.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#8A5E58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f6718;
/* rgb */ color: rgb(127, 103, 24);
/* oklch */ color: oklch(52.3% 0.098 90.9);
Tailwind
colors: {
  custom: {
    50: '#a8925c',
    500: '#7f6718',
    950: '#000000',
  },
}
SCSS
$custom: #7f6718;
$custom-light: #a8925c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6718",
  "rgb": {
    "r": 127,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 46.019,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52319,
    "c": 0.0976,
    "h": 90.9
  },
  "luminance": 0.14278
}

Semantic roles & 50–950 ramp

primary
#7F6718
secondary
#3F5AB3
accent
#65EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6718

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

Preview Lab → · Contrast checker → · Palette generator →

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