#7F7914#7F7914

#7F7914 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.114 H 105.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7F7914
RGBrgb(127, 121, 20)
HSLhsl(57, 73%, 29%)
HSVhsv(57, 84%, 50%)
CMYKcmyk(0%, 4.7%, 84.3%, 50.2%)
CIE-LABlab(49.78, -9.11, 50.72)
CIE-LCHlch(49.78, 51.54, 100.18°)
OKLaboklab(56.4% -0.0311 0.1094)
OKLCHoklch(56.4% 0.114 105.8)
XYZxyz(15.7167, 18.2379, 3.3541)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7914 #141A7F
analogous
#7F4414 #7F7914 #507F14
triadic
#7F7914 #147F79 #79147F
tetradic
#7F7914 #147F44 #141A7F #7F1450
square
#7F7914 #147F44 #141A7F #7F1450
split-complementary
#7F7914 #14507F #44147F
monochromatic
#1A1904 #4A470C #7F7914 #B4AB1C #DED42F

Accessibility & contrast

On white

4.52
#7F7914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7F7914 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7914
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7914#FFFFFF#000000##000000
##7F79141.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#87781D
Tritanopia (blue-blind)
#897067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f7914;
/* rgb */ color: rgb(127, 121, 20);
/* oklch */ color: oklch(56.4% 0.114 105.8);
Tailwind
colors: {
  custom: {
    50: '#a89f5d',
    500: '#7f7914',
    950: '#000000',
  },
}
SCSS
$custom: #7f7914;
$custom-light: #a89f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7914",
  "rgb": {
    "r": 127,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 56.636,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56398,
    "c": 0.11373,
    "h": 105.8
  },
  "luminance": 0.18237
}

Semantic roles & 50–950 ramp

primary
#7F7914
secondary
#3B41B4
accent
#43EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7914

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

Preview Lab → · Contrast checker → · Palette generator →

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