#7C841E#7C841E

#7C841E is a mid, vivid yellow. Relative luminance 0.209; OKLCH L 58.8% C 0.121 H 114.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7C841E
RGBrgb(124, 132, 30)
HSLhsl(65, 63%, 32%)
HSVhsv(65, 77%, 52%)
CMYKcmyk(6.1%, 0%, 77.3%, 48.2%)
CIE-LABlab(52.82, -16.04, 50.16)
CIE-LCHlch(52.82, 52.66, 107.74°)
OKLaboklab(58.78% -0.0493 0.1103)
OKLCHoklch(58.78% 0.121 114.1)
XYZxyz(16.7983, 20.8817, 4.3737)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C841E #261E84
analogous
#84591E #7C841E #49841E
triadic
#7C841E #1E7C84 #841E7C
tetradic
#7C841E #1E8459 #261E84 #841E49
square
#7C841E #1E8459 #261E84 #841E49
split-complementary
#7C841E #1E4984 #591E84
monochromatic
#1E2007 #4D5213 #7C841E #ABB629 #CAD547

Accessibility & contrast

On white

4.06
#7C841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7C841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C841E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C841E#FFFFFF#000000##000000
##7C841E1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#857C71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c841e;
/* rgb */ color: rgb(124, 132, 30);
/* oklch */ color: oklch(58.8% 0.121 114.1);
Tailwind
colors: {
  custom: {
    50: '#a5a763',
    500: '#7c841e',
    950: '#000000',
  },
}
SCSS
$custom: #7c841e;
$custom-light: #a5a763;
$custom-dark: #000000;
JSON
{
  "hex": "#7c841e",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 64.706,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58778,
    "c": 0.12081,
    "h": 114.1
  },
  "luminance": 0.20881
}

Semantic roles & 50–950 ramp

primary
#7C841E
secondary
#5047B7
accent
#42E64F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C841E

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

Preview Lab → · Contrast checker → · Palette generator →

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