#7E8D30#7E8D30

#7E8D30 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.2% C 0.118 H 117.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7E8D30
RGBrgb(126, 141, 48)
HSLhsl(70, 49%, 37%)
HSVhsv(70, 66%, 55%)
CMYKcmyk(10.6%, 0%, 66%, 44.7%)
CIE-LABlab(55.79, -18.80, 46.06)
CIE-LCHlch(55.79, 49.75, 112.21°)
OKLaboklab(61.24% -0.0553 0.1047)
OKLCHoklch(61.24% 0.118 117.9)
XYZxyz(18.6629, 23.6989, 6.3869)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8D30 #3F308D
analogous
#8D6D30 #7E8D30 #508D30
triadic
#7E8D30 #307E8D #8D307E
tetradic
#7E8D30 #308D6D #3F308D #8D3050
square
#7E8D30 #308D6D #3F308D #8D3050
split-complementary
#7E8D30 #30508D #6D308D
monochromatic
#2C3211 #555F20 #7E8D30 #A7BB40 #BDCD6B

Accessibility & contrast

On white

3.66
#7E8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7E8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8D30
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8D30#FFFFFF#000000##000000
##7E8D301.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968524
Deuteranopia (green-blind)
#958637
Tritanopia (blue-blind)
#85857A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8d30;
/* rgb */ color: rgb(126, 141, 48);
/* oklch */ color: oklch(61.2% 0.118 117.9);
Tailwind
colors: {
  custom: {
    50: '#a6ae6d',
    500: '#7e8d30',
    950: '#000000',
  },
}
SCSS
$custom: #7e8d30;
$custom-light: #a6ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8d30",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 69.677,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61237,
    "c": 0.11839,
    "h": 117.9
  },
  "luminance": 0.23699
}

Semantic roles & 50–950 ramp

primary
#7E8D30
secondary
#7265B4
accent
#4FD965
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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