#7C8337#7C8337

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

Color values

HEX#7C8337
RGBrgb(124, 131, 55)
HSLhsl(66, 41%, 36%)
HSVhsv(66, 58%, 51%)
CMYKcmyk(5.3%, 0%, 58%, 48.6%)
CIE-LABlab(52.72, -13.85, 39.43)
CIE-LCHlch(52.72, 41.79, 109.36°)
OKLaboklab(58.76% -0.0405 0.0916)
OKLCHoklch(58.76% 0.1 113.9)
XYZxyz(17.1184, 20.7938, 6.7255)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8337 #3E3783
analogous
#836437 #7C8337 #568337
triadic
#7C8337 #377C83 #83377C
tetradic
#7C8337 #378364 #3E3783 #833756
square
#7C8337 #378364 #3E3783 #833756
split-complementary
#7C8337 #375683 #643783
monochromatic
#2A2D13 #535825 #7C8337 #A5AE49 #BCC371

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8337#FFFFFF#000000##000000
##7C83371.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)
#8C7D2F
Deuteranopia (green-blind)
#8C7F3B
Tritanopia (blue-blind)
#837C72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c8337;
/* rgb */ color: rgb(124, 131, 55);
/* oklch */ color: oklch(58.8% 0.100 113.9);
Tailwind
colors: {
  custom: {
    50: '#a4a771',
    500: '#7c8337',
    950: '#000000',
  },
}
SCSS
$custom: #7c8337;
$custom-light: #a4a771;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8337",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 65.526,
    "s": 40.86,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58764,
    "c": 0.10017,
    "h": 113.9
  },
  "luminance": 0.20794
}

Semantic roles & 50–950 ramp

primary
#7C8337
secondary
#706AAC
accent
#57D162
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7C8337

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

Preview Lab → · Contrast checker → · Palette generator →

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