#7C8A35#7C8A35

#7C8A35 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.4% C 0.111 H 117.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7C8A35
RGBrgb(124, 138, 53)
HSLhsl(70, 45%, 37%)
HSVhsv(70, 62%, 54%)
CMYKcmyk(10.1%, 0%, 61.6%, 45.9%)
CIE-LABlab(54.78, -17.73, 42.68)
CIE-LCHlch(54.78, 46.22, 112.56°)
OKLaboklab(60.41% -0.0517 0.0983)
OKLCHoklch(60.41% 0.111 117.7)
XYZxyz(18.0436, 22.7193, 6.8022)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A35 #43358A
analogous
#8A6D35 #7C8A35 #528A35
triadic
#7C8A35 #357C8A #8A357C
tetradic
#7C8A35 #358A6D #43358A #8A3552
square
#7C8A35 #358A6D #43358A #8A3552
split-complementary
#7C8A35 #35528A #6D358A
monochromatic
#2D3213 #545E24 #7C8A35 #A4B646 #BAC871

Accessibility & contrast

On white

3.79
#7C8A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#7C8A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A35
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A35#FFFFFF#000000##000000
##7C8A351.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832B
Deuteranopia (green-blind)
#91843B
Tritanopia (blue-blind)
#838378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a35;
/* rgb */ color: rgb(124, 138, 53);
/* oklch */ color: oklch(60.4% 0.111 117.7);
Tailwind
colors: {
  custom: {
    50: '#a4ac70',
    500: '#7c8a35',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a35;
$custom-light: #a4ac70;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a35",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 69.882,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.11104,
    "h": 117.7
  },
  "luminance": 0.22719
}

Semantic roles & 50–950 ramp

primary
#7C8A35
secondary
#766AB1
accent
#54D469
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8A35

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

Preview Lab → · Contrast checker → · Palette generator →

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