#7C831E#7C831E

#7C831E is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.120 H 113.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7C831E
RGBrgb(124, 131, 30)
HSLhsl(64, 63%, 32%)
HSVhsv(64, 77%, 51%)
CMYKcmyk(5.3%, 0%, 77.1%, 48.6%)
CIE-LABlab(52.52, -15.51, 49.88)
CIE-LCHlch(52.52, 52.24, 107.28°)
OKLaboklab(58.54% -0.0478 0.1097)
OKLCHoklch(58.54% 0.12 113.6)
XYZxyz(16.6633, 20.6118, 4.3287)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C831E #251E83
analogous
#83581E #7C831E #4A831E
triadic
#7C831E #1E7C83 #831E7C
tetradic
#7C831E #1E8358 #251E83 #831E4A
square
#7C831E #1E8358 #251E83 #831E4A
split-complementary
#7C831E #1E4A83 #581E83
monochromatic
#1E1F07 #4D5113 #7C831E #ABB529 #CBD547

Accessibility & contrast

On white

4.10
#7C831E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7C831E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C831E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C831E#FFFFFF#000000##000000
##7C831E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C06
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#857B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c831e;
/* rgb */ color: rgb(124, 131, 30);
/* oklch */ color: oklch(58.5% 0.120 113.6);
Tailwind
colors: {
  custom: {
    50: '#a5a663',
    500: '#7c831e',
    950: '#000000',
  },
}
SCSS
$custom: #7c831e;
$custom-light: #a5a663;
$custom-dark: #000000;
JSON
{
  "hex": "#7c831e",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 64.158,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.11967,
    "h": 113.6
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#7C831E
secondary
#4F47B6
accent
#42E64D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C831E

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

Preview Lab → · Contrast checker → · Palette generator →

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