#7F7B19#7F7B19

#7F7B19 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.113 H 107.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7F7B19
RGBrgb(127, 123, 25)
HSLhsl(58, 67%, 30%)
HSVhsv(58, 80%, 50%)
CMYKcmyk(0%, 3.1%, 80.3%, 50.2%)
CIE-LABlab(50.39, -10.03, 49.72)
CIE-LCHlch(50.39, 50.72, 101.40°)
OKLaboklab(56.89% -0.0332 0.1083)
OKLCHoklch(56.89% 0.113 107.1)
XYZxyz(16.0115, 18.7487, 3.6950)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7B19 #191D7F
analogous
#7F4819 #7F7B19 #507F19
triadic
#7F7B19 #197F7B #7B197F
tetradic
#7F7B19 #197F48 #191D7F #7F1950
square
#7F7B19 #197F48 #191D7F #7F1950
split-complementary
#7F7B19 #19507F #48197F
monochromatic
#1A1905 #4C490F #7F7B19 #B2AD23 #D8D23A

Accessibility & contrast

On white

4.42
#7F7B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7F7B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7B19
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7B19#FFFFFF#000000##000000
##7F7B191.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#887A21
Tritanopia (blue-blind)
#897269
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7f7b19;
/* rgb */ color: rgb(127, 123, 25);
/* oklch */ color: oklch(56.9% 0.113 107.1);
Tailwind
colors: {
  custom: {
    50: '#a7a05f',
    500: '#7f7b19',
    950: '#000000',
  },
}
SCSS
$custom: #7f7b19;
$custom-light: #a7a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7b19",
  "rgb": {
    "r": 127,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 57.647,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.11323,
    "h": 107.1
  },
  "luminance": 0.18748
}

Semantic roles & 50–950 ramp

primary
#7F7B19
secondary
#4145B3
accent
#45EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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