#789823#789823

#789823 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.3% C 0.144 H 124.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#789823
RGBrgb(120, 152, 35)
HSLhsl(76, 63%, 37%)
HSVhsv(76, 77%, 60%)
CMYKcmyk(21.1%, 0%, 77%, 40.4%)
CIE-LABlab(58.57, -27.67, 53.75)
CIE-LCHlch(58.57, 60.45, 117.24°)
OKLaboklab(63.35% -0.0807 0.1189)
OKLCHoklch(63.35% 0.144 124.2)
XYZxyz(19.2775, 26.5707, 5.7028)
Luminance0.2657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789823 #432398
analogous
#987E23 #789823 #3E9823
triadic
#789823 #237898 #982378
tetradic
#789823 #23987E #432398 #98233E
square
#789823 #23987E #432398 #98233E
split-complementary
#789823 #233E98 #7E2398
monochromatic
#29350C #516618 #789823 #9FCA2E #B7D95C

Accessibility & contrast

On white

3.33
#789823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#789823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789823
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789823#FFFFFF#000000##000000
##7898231.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E06
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#7E9082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #789823;
/* rgb */ color: rgb(120, 152, 35);
/* oklch */ color: oklch(63.3% 0.144 124.2);
Tailwind
colors: {
  custom: {
    50: '#a2b668',
    500: '#789823',
    950: '#000000',
  },
}
SCSS
$custom: #789823;
$custom-light: #a2b668;
$custom-dark: #000000;
JSON
{
  "hex": "#789823",
  "rgb": {
    "r": 120,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 76.41,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63349,
    "c": 0.14366,
    "h": 124.2
  },
  "luminance": 0.26571
}

Semantic roles & 50–950 ramp

primary
#789823
secondary
#7459BE
accent
#42E66F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789823

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

Preview Lab → · Contrast checker → · Palette generator →

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