#7F8113#7F8113

#7F8113 is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.3% C 0.122 H 110.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7F8113
RGBrgb(127, 129, 19)
HSLhsl(61, 74%, 29%)
HSVhsv(61, 85%, 51%)
CMYKcmyk(1.6%, 0%, 85.3%, 49.4%)
CIE-LABlab(52.13, -13.50, 53.00)
CIE-LCHlch(52.13, 54.70, 104.29°)
OKLaboklab(58.27% -0.0433 0.1142)
OKLCHoklch(58.27% 0.122 110.8)
XYZxyz(16.7208, 20.2600, 3.6457)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8113 #151381
analogous
#814C13 #7F8113 #488113
triadic
#7F8113 #137F81 #81137F
tetradic
#7F8113 #13814C #151381 #811348
square
#7F8113 #13814C #151381 #811348
split-complementary
#7F8113 #134881 #4C1381
monochromatic
#1A1B04 #4A4C0B #7F8113 #B4B61B #DDE02E

Accessibility & contrast

On white

4.16
#7F8113 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7F8113 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8113
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8113#FFFFFF#000000##000000
##7F81131.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8D7E1E
Tritanopia (blue-blind)
#89786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f8113;
/* rgb */ color: rgb(127, 129, 19);
/* oklch */ color: oklch(58.3% 0.122 110.8);
Tailwind
colors: {
  custom: {
    50: '#a8a55e',
    500: '#7f8113',
    950: '#000000',
  },
}
SCSS
$custom: #7f8113;
$custom-light: #a8a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8113",
  "rgb": {
    "r": 127,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 61.091,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.1221,
    "h": 110.8
  },
  "luminance": 0.2026
}

Semantic roles & 50–950 ramp

primary
#7F8113
secondary
#3C3AB6
accent
#37F13A
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7F8113

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

Preview Lab → · Contrast checker → · Palette generator →

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