#7C8336#7C8336

#7C8336 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.8% C 0.101 H 113.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7C8336
RGBrgb(124, 131, 54)
HSLhsl(65, 42%, 36%)
HSVhsv(65, 59%, 51%)
CMYKcmyk(5.3%, 0%, 58.8%, 48.6%)
CIE-LABlab(52.71, -13.94, 39.90)
CIE-LCHlch(52.71, 42.27, 109.26°)
OKLaboklab(58.75% -0.0409 0.0925)
OKLCHoklch(58.75% 0.101 113.9)
XYZxyz(17.0947, 20.7843, 6.6006)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8336 #3D3683
analogous
#836436 #7C8336 #568336
triadic
#7C8336 #367C83 #83367C
tetradic
#7C8336 #368364 #3D3683 #833656
square
#7C8336 #368364 #3D3683 #833656
split-complementary
#7C8336 #365683 #643683
monochromatic
#2A2C12 #535824 #7C8336 #A5AE48 #BCC470

Accessibility & contrast

On white

4.07
#7C8336 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7C8336 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8336
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8336#FFFFFF#000000##000000
##7C83361.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2E
Deuteranopia (green-blind)
#8C7F3B
Tritanopia (blue-blind)
#847C72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c8336;
/* rgb */ color: rgb(124, 131, 54);
/* oklch */ color: oklch(58.8% 0.101 113.9);
Tailwind
colors: {
  custom: {
    50: '#a4a670',
    500: '#7c8336',
    950: '#000000',
  },
}
SCSS
$custom: #7c8336;
$custom-light: #a4a670;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8336",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 65.455,
    "s": 41.622,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58753,
    "c": 0.10113,
    "h": 113.9
  },
  "luminance": 0.20784
}

Semantic roles & 50–950 ramp

primary
#7C8336
secondary
#6F68AC
accent
#56D162
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7C8336

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

Preview Lab → · Contrast checker → · Palette generator →

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