#7C8A30#7C8A30

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

Color values

HEX#7C8A30
RGBrgb(124, 138, 48)
HSLhsl(69, 48%, 36%)
HSVhsv(69, 65%, 54%)
CMYKcmyk(10.1%, 0%, 65.2%, 45.9%)
CIE-LABlab(54.74, -18.12, 44.90)
CIE-LCHlch(54.74, 48.42, 111.97°)
OKLaboklab(60.36% -0.0533 0.1023)
OKLCHoklch(60.36% 0.115 117.5)
XYZxyz(17.9345, 22.6756, 6.2278)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A30 #3E308A
analogous
#8A6B30 #7C8A30 #4F8A30
triadic
#7C8A30 #307C8A #8A307C
tetradic
#7C8A30 #308A6B #3E308A #8A304F
square
#7C8A30 #308A6B #3E308A #8A304F
split-complementary
#7C8A30 #304F8A #6B308A
monochromatic
#2A2F10 #535D20 #7C8A30 #A5B740 #BCCB69

Accessibility & contrast

On white

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

On black

5.53
#7C8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A30
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A30#FFFFFF#000000##000000
##7C8A301.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#928336
Tritanopia (blue-blind)
#838377
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a30;
/* rgb */ color: rgb(124, 138, 48);
/* oklch */ color: oklch(60.4% 0.115 117.5);
Tailwind
colors: {
  custom: {
    50: '#a4ac6d',
    500: '#7c8a30',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a30;
$custom-light: #a4ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a30",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 69.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60357,
    "c": 0.11533,
    "h": 117.5
  },
  "luminance": 0.22675
}

Semantic roles & 50–950 ramp

primary
#7C8A30
secondary
#7064B2
accent
#50D865
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7C8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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