#7F6E18#7F6E18

#7F6E18 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.9% C 0.102 H 97.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7F6E18
RGBrgb(127, 110, 24)
HSLhsl(50, 68%, 30%)
HSVhsv(50, 81%, 50%)
CMYKcmyk(0%, 13.4%, 81.1%, 50.2%)
CIE-LABlab(46.62, -2.78, 46.65)
CIE-LCHlch(46.62, 46.73, 93.41°)
OKLaboklab(53.89% -0.0129 0.1015)
OKLCHoklch(53.89% 0.102 97.3)
XYZxyz(14.4940, 15.7306, 3.1369)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6E18 #18297F
analogous
#7F3B18 #7F6E18 #5D7F18
triadic
#7F6E18 #187F6E #6E187F
tetradic
#7F6E18 #187F3B #18297F #7F185D
square
#7F6E18 #187F3B #18297F #7F185D
split-complementary
#7F6E18 #185D7F #3B187F
monochromatic
#1A1605 #4C410E #7F6E18 #B29B22 #D9BF38

Accessibility & contrast

On white

5.07
#7F6E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7F6E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6E18
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6E18#FFFFFF#000000##FFFFFF
##7F6E181.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#7E711E
Tritanopia (blue-blind)
#8A655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f6e18;
/* rgb */ color: rgb(127, 110, 24);
/* oklch */ color: oklch(53.9% 0.102 97.3);
Tailwind
colors: {
  custom: {
    50: '#a8975d',
    500: '#7f6e18',
    950: '#000000',
  },
}
SCSS
$custom: #7f6e18;
$custom-light: #a8975d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6e18",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 50.097,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5389,
    "c": 0.10229,
    "h": 97.3
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#7F6E18
secondary
#3F53B3
accent
#5AEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7F6E18

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

Preview Lab → · Contrast checker → · Palette generator →

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