#7C8A33#7C8A33

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

Color values

HEX#7C8A33
RGBrgb(124, 138, 51)
HSLhsl(70, 46%, 37%)
HSVhsv(70, 63%, 54%)
CMYKcmyk(10.1%, 0%, 63%, 45.9%)
CIE-LABlab(54.76, -17.89, 43.58)
CIE-LCHlch(54.76, 47.11, 112.32°)
OKLaboklab(60.39% -0.0523 0.0999)
OKLCHoklch(60.39% 0.113 117.6)
XYZxyz(17.9985, 22.7012, 6.5649)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A33 #41338A
analogous
#8A6D33 #7C8A33 #518A33
triadic
#7C8A33 #337C8A #8A337C
tetradic
#7C8A33 #338A6D #41338A #8A3351
square
#7C8A33 #338A6D #41338A #8A3351
split-complementary
#7C8A33 #33518A #6D338A
monochromatic
#2C3112 #545D22 #7C8A33 #A4B744 #BBC96E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8A33#FFFFFF#000000##000000
##7C8A331.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)
#938329
Deuteranopia (green-blind)
#918439
Tritanopia (blue-blind)
#838378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a33;
/* rgb */ color: rgb(124, 138, 51);
/* oklch */ color: oklch(60.4% 0.113 117.6);
Tailwind
colors: {
  custom: {
    50: '#a4ac6f',
    500: '#7c8a33',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a33;
$custom-light: #a4ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a33",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 69.655,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60387,
    "c": 0.1128,
    "h": 117.6
  },
  "luminance": 0.22701
}

Semantic roles & 50–950 ramp

primary
#7C8A33
secondary
#7367B1
accent
#52D667
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7C8A33

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

Preview Lab → · Contrast checker → · Palette generator →

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