#789262#789262

#789262 is a light, moderate yellow-green. Relative luminance 0.254; OKLCH L 62.7% C 0.075 H 131.4°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#789262
RGBrgb(120, 146, 98)
HSLhsl(93, 20%, 48%)
HSVhsv(93, 33%, 57%)
CMYKcmyk(17.8%, 0%, 32.9%, 42.7%)
CIE-LABlab(57.49, -18.26, 22.52)
CIE-LCHlch(57.49, 28.99, 129.04°)
OKLaboklab(62.71% -0.0496 0.0563)
OKLCHoklch(62.71% 0.075 131.4)
XYZxyz(20.2288, 25.4324, 15.3961)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789262 #7C6292
analogous
#909262 #789262 #629264
triadic
#789262 #627892 #926278
tetradic
#789262 #629092 #7C6292 #926462
square
#789262 #629092 #7C6292 #926462
split-complementary
#789262 #646292 #926290
monochromatic
#3C4931 #5A6D49 #789262 #97AD84 #B6C5A9

Accessibility & contrast

On white

3.45
#789262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#789262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789262
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789262#FFFFFF#000000##000000
##7892621.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968B5F
Deuteranopia (green-blind)
#928964
Tritanopia (blue-blind)
#798E86
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #789262;
/* rgb */ color: rgb(120, 146, 98);
/* oklch */ color: oklch(62.7% 0.075 131.4);
Tailwind
colors: {
  custom: {
    50: '#9fb28f',
    500: '#789262',
    950: '#000000',
  },
}
SCSS
$custom: #789262;
$custom-light: #9fb28f;
$custom-dark: #000000;
JSON
{
  "hex": "#789262",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 98
  },
  "hsl": {
    "h": 92.5,
    "s": 19.672,
    "l": 47.843
  },
  "oklch": {
    "l": 0.62712,
    "c": 0.07508,
    "h": 131.4
  },
  "luminance": 0.25433
}

Semantic roles & 50–950 ramp

primary
#789262
secondary
#A99CB4
accent
#6CBC97
background
#F9FAF8
surface
#F2F5F0
border
#CCCFCB
text
#0E100C
muted
#7E7F7D

Preview Lab

Preview with #789262

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

Preview Lab → · Contrast checker → · Palette generator →

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