#789331#789331

#789331 is a light, vivid yellow-green. Relative luminance 0.251; OKLCH L 62.2% C 0.128 H 123.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#789331
RGBrgb(120, 147, 49)
HSLhsl(77, 50%, 38%)
HSVhsv(77, 67%, 58%)
CMYKcmyk(18.4%, 0%, 66.7%, 42.4%)
CIE-LABlab(57.16, -24.34, 46.94)
CIE-LCHlch(57.16, 52.87, 117.41°)
OKLaboklab(62.23% -0.0703 0.1068)
OKLCHoklch(62.23% 0.128 123.3)
XYZxyz(18.7340, 25.0822, 6.7595)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789331 #4C3193
analogous
#937D31 #789331 #479331
triadic
#789331 #317893 #933178
tetradic
#789331 #31937D #4C3193 #933147
square
#789331 #31937D #4C3193 #933147
split-complementary
#789331 #314793 #7D3193
monochromatic
#2D3712 #536522 #789331 #9DC041 #B5CF6F

Accessibility & contrast

On white

3.49
#789331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#789331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789331
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789331#FFFFFF#000000##000000
##7893311.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A24
Deuteranopia (green-blind)
#988938
Tritanopia (blue-blind)
#7E8C7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #789331;
/* rgb */ color: rgb(120, 147, 49);
/* oklch */ color: oklch(62.2% 0.128 123.3);
Tailwind
colors: {
  custom: {
    50: '#a2b26e',
    500: '#789331',
    950: '#000000',
  },
}
SCSS
$custom: #789331;
$custom-light: #a2b26e;
$custom-dark: #000000;
JSON
{
  "hex": "#789331",
  "rgb": {
    "r": 120,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 76.531,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62232,
    "c": 0.12784,
    "h": 123.3
  },
  "luminance": 0.25082
}

Semantic roles & 50–950 ramp

primary
#789331
secondary
#7E69B7
accent
#4EDA75
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789331

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

Preview Lab → · Contrast checker → · Palette generator →

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