#7DA231#7DA231

#7DA231 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.2% C 0.145 H 125.9°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7DA231
RGBrgb(125, 162, 49)
HSLhsl(80, 54%, 41%)
HSVhsv(80, 70%, 64%)
CMYKcmyk(22.8%, 0%, 69.8%, 36.5%)
CIE-LABlab(62.02, -29.60, 52.09)
CIE-LCHlch(62.02, 59.91, 119.61°)
OKLaboklab(66.25% -0.085 0.1175)
OKLCHoklch(66.25% 0.145 125.9)
XYZxyz(21.9323, 30.4221, 7.6217)
Luminance0.3042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DA231 #5631A2
analogous
#A28F31 #7DA231 #45A231
triadic
#7DA231 #317DA2 #A2317D
tetradic
#7DA231 #31A28F #5631A2 #A23145
square
#7DA231 #31A28F #5631A2 #A23145
split-complementary
#7DA231 #3145A2 #8F31A2
monochromatic
#344415 #597323 #7DA231 #9EC848 #B7D677

Accessibility & contrast

On white

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

On black

7.08
#7DA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DA231
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DA231#FFFFFF#000000##000000
##7DA2311.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9720
Deuteranopia (green-blind)
#A6953A
Tritanopia (blue-blind)
#829A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7da231;
/* rgb */ color: rgb(125, 162, 49);
/* oklch */ color: oklch(66.2% 0.145 125.9);
Tailwind
colors: {
  custom: {
    50: '#a6bd70',
    500: '#7da231',
    950: '#000000',
  },
}
SCSS
$custom: #7da231;
$custom-light: #a6bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7da231",
  "rgb": {
    "r": 125,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 79.646,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66248,
    "c": 0.14507,
    "h": 125.9
  },
  "luminance": 0.30422
}

Semantic roles & 50–950 ramp

primary
#7DA231
secondary
#8A71BE
accent
#4BDD7B
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7DA231

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

Preview Lab → · Contrast checker → · Palette generator →

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