#789225#789225

#789225 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.9% C 0.135 H 122.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#789225
RGBrgb(120, 146, 37)
HSLhsl(74, 60%, 36%)
HSVhsv(74, 75%, 57%)
CMYKcmyk(17.8%, 0%, 74.7%, 42.7%)
CIE-LABlab(56.77, -24.62, 51.32)
CIE-LCHlch(56.77, 56.92, 115.63°)
OKLaboklab(61.89% -0.0721 0.1141)
OKLCHoklch(61.89% 0.135 122.3)
XYZxyz(18.3588, 24.6844, 5.5473)
Luminance0.2468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789225 #3F2592
analogous
#927525 #789225 #419225
triadic
#789225 #257892 #922578
tetradic
#789225 #259275 #3F2592 #922541
square
#789225 #259275 #3F2592 #922541
split-complementary
#789225 #254192 #752592
monochromatic
#28300C #506119 #789225 #A0C331 #B9D65C

Accessibility & contrast

On white

3.54
#789225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#789225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789225
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789225#FFFFFF#000000##000000
##7892251.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890F
Deuteranopia (green-blind)
#98882F
Tritanopia (blue-blind)
#7F8A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #789225;
/* rgb */ color: rgb(120, 146, 37);
/* oklch */ color: oklch(61.9% 0.135 122.3);
Tailwind
colors: {
  custom: {
    50: '#a2b268',
    500: '#789225',
    950: '#000000',
  },
}
SCSS
$custom: #789225;
$custom-light: #a2b268;
$custom-dark: #000000;
JSON
{
  "hex": "#789225",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 74.312,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61891,
    "c": 0.13499,
    "h": 122.3
  },
  "luminance": 0.24684
}

Semantic roles & 50–950 ramp

primary
#789225
secondary
#7058BA
accent
#45E36B
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #789225

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

Preview Lab → · Contrast checker → · Palette generator →

#789225 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva