#7C8334#7C8334

#7C8334 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.103 H 113.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7C8334
RGBrgb(124, 131, 52)
HSLhsl(65, 43%, 36%)
HSVhsv(65, 60%, 51%)
CMYKcmyk(5.3%, 0%, 60.3%, 48.6%)
CIE-LABlab(52.69, -14.11, 40.84)
CIE-LCHlch(52.69, 43.21, 109.05°)
OKLaboklab(58.73% -0.0416 0.0942)
OKLCHoklch(58.73% 0.103 113.8)
XYZxyz(17.0487, 20.7659, 6.3583)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8334 #3B3483
analogous
#836234 #7C8334 #548334
triadic
#7C8334 #347C83 #83347C
tetradic
#7C8334 #348362 #3B3483 #833454
square
#7C8334 #348362 #3B3483 #833454
split-complementary
#7C8334 #345483 #623483
monochromatic
#292B11 #535723 #7C8334 #A5AF45 #BDC56D

Accessibility & contrast

On white

4.08
#7C8334 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7C8334 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8334
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8334#FFFFFF#000000##000000
##7C83341.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8334;
/* rgb */ color: rgb(124, 131, 52);
/* oklch */ color: oklch(58.7% 0.103 113.8);
Tailwind
colors: {
  custom: {
    50: '#a4a66f',
    500: '#7c8334',
    950: '#000000',
  },
}
SCSS
$custom: #7c8334;
$custom-light: #a4a66f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8334",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 65.316,
    "s": 43.169,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5873,
    "c": 0.10301,
    "h": 113.8
  },
  "luminance": 0.20766
}

Semantic roles & 50–950 ramp

primary
#7C8334
secondary
#6C66AD
accent
#55D360
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7C8334

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

Preview Lab → · Contrast checker → · Palette generator →

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