#789229#789229

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

Color values

HEX#789229
RGBrgb(120, 146, 41)
HSLhsl(75, 56%, 37%)
HSVhsv(75, 72%, 57%)
CMYKcmyk(17.8%, 0%, 71.9%, 42.7%)
CIE-LABlab(56.79, -24.39, 49.84)
CIE-LCHlch(56.79, 55.48, 116.07°)
OKLaboklab(61.92% -0.0711 0.1117)
OKLCHoklch(61.92% 0.132 122.5)
XYZxyz(18.4251, 24.7109, 5.8964)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789229 #432992
analogous
#927829 #789229 #449229
triadic
#789229 #297892 #922978
tetradic
#789229 #299278 #432992 #922944
square
#789229 #299278 #432992 #922944
split-complementary
#789229 #294492 #782992
monochromatic
#29320E #51621C #789229 #9FC236 #B7D362

Accessibility & contrast

On white

3.53
#789229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##789229#FFFFFF#000000##000000
##7892291.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8917
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#7E8A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #789229;
/* rgb */ color: rgb(120, 146, 41);
/* oklch */ color: oklch(61.9% 0.132 122.5);
Tailwind
colors: {
  custom: {
    50: '#a2b26a',
    500: '#789229',
    950: '#000000',
  },
}
SCSS
$custom: #789229;
$custom-light: #a2b26a;
$custom-dark: #000000;
JSON
{
  "hex": "#789229",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 41
  },
  "hsl": {
    "h": 74.857,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6192,
    "c": 0.13239,
    "h": 122.5
  },
  "luminance": 0.24711
}

Semantic roles & 50–950 ramp

primary
#789229
secondary
#745EB9
accent
#48DF6E
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #789229

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

Preview Lab → · Contrast checker → · Palette generator →

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