#7F7C13#7F7C13

#7F7C13 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.117 H 107.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7F7C13
RGBrgb(127, 124, 19)
HSLhsl(58, 74%, 29%)
HSVhsv(58, 85%, 50%)
CMYKcmyk(0%, 2.4%, 85%, 50.2%)
CIE-LABlab(50.66, -10.79, 51.75)
CIE-LCHlch(50.66, 52.87, 101.78°)
OKLaboklab(57.09% -0.0358 0.1115)
OKLCHoklch(57.09% 0.117 107.8)
XYZxyz(16.0783, 18.9749, 3.4316)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7C13 #13167F
analogous
#7F4613 #7F7C13 #4C7F13
triadic
#7F7C13 #137F7C #7C137F
tetradic
#7F7C13 #137F46 #13167F #7F134C
square
#7F7C13 #137F46 #13167F #7F134C
split-complementary
#7F7C13 #134C7F #46137F
monochromatic
#1B1A04 #4A480B #7F7C13 #B4B01B #E0DB2D

Accessibility & contrast

On white

4.38
#7F7C13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7F7C13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7C13
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7C13#FFFFFF#000000##000000
##7F7C131.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#897A1D
Tritanopia (blue-blind)
#897369
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f7c13;
/* rgb */ color: rgb(127, 124, 19);
/* oklch */ color: oklch(57.1% 0.117 107.8);
Tailwind
colors: {
  custom: {
    50: '#a8a15d',
    500: '#7f7c13',
    950: '#000000',
  },
}
SCSS
$custom: #7f7c13;
$custom-light: #a8a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7c13",
  "rgb": {
    "r": 127,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 58.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57094,
    "c": 0.11706,
    "h": 107.8
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#7F7C13
secondary
#393DB4
accent
#3CF137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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