#7EA233#7EA233

#7EA233 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.143 H 125.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7EA233
RGBrgb(126, 162, 51)
HSLhsl(79, 52%, 42%)
HSVhsv(79, 69%, 64%)
CMYKcmyk(22.2%, 0%, 68.5%, 36.5%)
CIE-LABlab(62.10, -29.06, 51.39)
CIE-LCHlch(62.10, 59.03, 119.49°)
OKLaboklab(66.33% -0.0834 0.1163)
OKLCHoklch(66.33% 0.143 125.7)
XYZxyz(22.1222, 30.5150, 7.8558)
Luminance0.3051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA233 #5733A2
analogous
#A28F33 #7EA233 #47A233
triadic
#7EA233 #337EA2 #A2337E
tetradic
#7EA233 #33A28F #5733A2 #A23347
square
#7EA233 #33A28F #5733A2 #A23347
split-complementary
#7EA233 #3347A2 #8F33A2
monochromatic
#364516 #5A7324 #7EA233 #9FC74C #B8D57A

Accessibility & contrast

On white

2.96
#7EA233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7EA233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA233
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA233#FFFFFF#000000##000000
##7EA2331.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9723
Deuteranopia (green-blind)
#A6963C
Tritanopia (blue-blind)
#839A8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea233;
/* rgb */ color: rgb(126, 162, 51);
/* oklch */ color: oklch(66.3% 0.143 125.7);
Tailwind
colors: {
  custom: {
    50: '#a6bd71',
    500: '#7ea233',
    950: '#000000',
  },
}
SCSS
$custom: #7ea233;
$custom-light: #a6bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea233",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 79.459,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66334,
    "c": 0.14317,
    "h": 125.7
  },
  "luminance": 0.30515
}

Semantic roles & 50–950 ramp

primary
#7EA233
secondary
#8B73BE
accent
#4CDC7B
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA233

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

Preview Lab → · Contrast checker → · Palette generator →

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