#789923#789923

#789923 is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.6% C 0.145 H 124.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#789923
RGBrgb(120, 153, 35)
HSLhsl(77, 63%, 37%)
HSVhsv(77, 77%, 60%)
CMYKcmyk(21.6%, 0%, 77.1%, 40%)
CIE-LABlab(58.88, -28.16, 54.03)
CIE-LCHlch(58.88, 60.93, 117.52°)
OKLaboklab(63.6% -0.082 0.1195)
OKLCHoklch(63.6% 0.145 124.5)
XYZxyz(19.4405, 26.8967, 5.7572)
Luminance0.2690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789923 #442399
analogous
#997F23 #789923 #3D9923
triadic
#789923 #237899 #992378
tetradic
#789923 #23997F #442399 #99233D
square
#789923 #23997F #442399 #99233D
split-complementary
#789923 #233D99 #7F2399
monochromatic
#2A350C #516718 #789923 #9FCB2E #B7DA5D

Accessibility & contrast

On white

3.29
#789923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#789923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789923
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789923#FFFFFF#000000##000000
##7899231.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F05
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#7E9183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789923;
/* rgb */ color: rgb(120, 153, 35);
/* oklch */ color: oklch(63.6% 0.145 124.5);
Tailwind
colors: {
  custom: {
    50: '#a2b768',
    500: '#789923',
    950: '#000000',
  },
}
SCSS
$custom: #789923;
$custom-light: #a2b768;
$custom-dark: #000000;
JSON
{
  "hex": "#789923",
  "rgb": {
    "r": 120,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 76.78,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63595,
    "c": 0.14491,
    "h": 124.5
  },
  "luminance": 0.26897
}

Semantic roles & 50–950 ramp

primary
#789923
secondary
#7659BE
accent
#42E670
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789923

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

Preview Lab → · Contrast checker → · Palette generator →

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