#799318#799318

#799318 is a light, vivid yellow-green. Relative luminance 0.250; OKLCH L 62.1% C 0.143 H 121.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#799318
RGBrgb(121, 147, 24)
HSLhsl(73, 72%, 34%)
HSVhsv(73, 84%, 58%)
CMYKcmyk(17.7%, 0%, 83.7%, 42.4%)
CIE-LABlab(57.07, -25.29, 55.75)
CIE-LCHlch(57.07, 61.22, 114.40°)
OKLaboklab(62.14% -0.075 0.1212)
OKLCHoklch(62.14% 0.143 121.8)
XYZxyz(18.4841, 24.9983, 4.7154)
Luminance0.2500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799318 #321893
analogous
#936F18 #799318 #3B9318
triadic
#799318 #187993 #931879
tetradic
#799318 #18936F #321893 #93183B
square
#799318 #18936F #321893 #93183B
split-complementary
#799318 #183B93 #6F1893
monochromatic
#222A07 #4E5E0F #799318 #A4C821 #C0E145

Accessibility & contrast

On white

3.50
#799318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#799318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799318
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799318#FFFFFF#000000##000000
##7993181.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#808B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #799318;
/* rgb */ color: rgb(121, 147, 24);
/* oklch */ color: oklch(62.1% 0.143 121.8);
Tailwind
colors: {
  custom: {
    50: '#a3b262',
    500: '#799318',
    950: '#000000',
  },
}
SCSS
$custom: #799318;
$custom-light: #a3b262;
$custom-dark: #000000;
JSON
{
  "hex": "#799318",
  "rgb": {
    "r": 121,
    "g": 147,
    "b": 24
  },
  "hsl": {
    "h": 72.683,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62136,
    "c": 0.14256,
    "h": 121.8
  },
  "luminance": 0.24998
}

Semantic roles & 50–950 ramp

primary
#799318
secondary
#5F45C2
accent
#39EF60
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799318

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

Preview Lab → · Contrast checker → · Palette generator →

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