#7C8119#7C8119

#7C8119 is a mid, vivid yellow. Relative luminance 0.201; OKLCH L 58.0% C 0.120 H 112.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7C8119
RGBrgb(124, 129, 25)
HSLhsl(63, 68%, 30%)
HSVhsv(63, 81%, 51%)
CMYKcmyk(3.9%, 0%, 80.6%, 49.4%)
CIE-LABlab(51.90, -14.66, 50.97)
CIE-LCHlch(51.90, 53.04, 106.05°)
OKLaboklab(58.03% -0.0459 0.1111)
OKLCHoklch(58.03% 0.12 112.5)
XYZxyz(16.3385, 20.0562, 3.9301)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8119 #1E1981
analogous
#815219 #7C8119 #488119
triadic
#7C8119 #197C81 #81197C
tetradic
#7C8119 #198152 #1E1981 #811948
square
#7C8119 #198152 #1E1981 #811948
split-complementary
#7C8119 #194881 #521981
monochromatic
#191A05 #4B4E0F #7C8119 #ADB423 #D1D93B

Accessibility & contrast

On white

4.19
#7C8119 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7C8119 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8119
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8119#FFFFFF#000000##000000
##7C81191.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#85796E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c8119;
/* rgb */ color: rgb(124, 129, 25);
/* oklch */ color: oklch(58.0% 0.120 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a560',
    500: '#7c8119',
    950: '#000000',
  },
}
SCSS
$custom: #7c8119;
$custom-light: #a5a560;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8119",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 25
  },
  "hsl": {
    "h": 62.885,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.58033,
    "c": 0.12018,
    "h": 112.5
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#7C8119
secondary
#4641B5
accent
#3DEA46
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C8119

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

Preview Lab → · Contrast checker → · Palette generator →

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