#7C8121#7C8121

#7C8121 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.1% C 0.116 H 112.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7C8121
RGBrgb(124, 129, 33)
HSLhsl(63, 59%, 32%)
HSVhsv(63, 74%, 51%)
CMYKcmyk(3.9%, 0%, 74.4%, 49.4%)
CIE-LABlab(51.95, -14.30, 48.25)
CIE-LCHlch(51.95, 50.32, 106.51°)
OKLaboklab(58.08% -0.0442 0.1068)
OKLCHoklch(58.08% 0.116 112.5)
XYZxyz(16.4375, 20.0958, 4.4515)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8121 #262181
analogous
#815621 #7C8121 #4C8121
triadic
#7C8121 #217C81 #81217C
tetradic
#7C8121 #218156 #262181 #81214C
square
#7C8121 #218156 #262181 #81214C
split-complementary
#7C8121 #214C81 #562181
monochromatic
#1E2008 #4D5015 #7C8121 #ABB22D #CAD14B

Accessibility & contrast

On white

4.18
#7C8121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7C8121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8121
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8121#FFFFFF#000000##000000
##7C81211.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8121;
/* rgb */ color: rgb(124, 129, 33);
/* oklch */ color: oklch(58.1% 0.116 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a564',
    500: '#7c8121',
    950: '#000000',
  },
}
SCSS
$custom: #7c8121;
$custom-light: #a5a564;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8121",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 63.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58083,
    "c": 0.11558,
    "h": 112.5
  },
  "luminance": 0.20095
}

Semantic roles & 50–950 ramp

primary
#7C8121
secondary
#504AB4
accent
#45E24E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C8121

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

Preview Lab → · Contrast checker → · Palette generator →

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