#799012#799012

#799012 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.4% C 0.141 H 120.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#799012
RGBrgb(121, 144, 18)
HSLhsl(71, 78%, 32%)
HSVhsv(71, 88%, 56%)
CMYKcmyk(16%, 0%, 87.5%, 43.5%)
CIE-LABlab(56.14, -24.00, 56.44)
CIE-LCHlch(56.14, 61.33, 113.04°)
OKLaboklab(61.38% -0.0719 0.1217)
OKLCHoklch(61.38% 0.141 120.6)
XYZxyz(17.9680, 24.0552, 4.2687)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799012 #291290
analogous
#906812 #799012 #3A9012
triadic
#799012 #127990 #901279
tetradic
#799012 #129068 #291290 #90123A
square
#799012 #129068 #291290 #90123A
split-complementary
#799012 #123A90 #681290
monochromatic
#1E2304 #4B5A0B #799012 #A7C619 #C6E636

Accessibility & contrast

On white

3.61
#799012 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#799012 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799012
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799012#FFFFFF#000000##000000
##7990121.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#978721
Tritanopia (blue-blind)
#80887A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #799012;
/* rgb */ color: rgb(121, 144, 18);
/* oklch */ color: oklch(61.4% 0.141 120.6);
Tailwind
colors: {
  custom: {
    50: '#a3b060',
    500: '#799012',
    950: '#000000',
  },
}
SCSS
$custom: #799012;
$custom-light: #a3b060;
$custom-dark: #000000;
JSON
{
  "hex": "#799012",
  "rgb": {
    "r": 121,
    "g": 144,
    "b": 18
  },
  "hsl": {
    "h": 70.952,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61377,
    "c": 0.14136,
    "h": 120.6
  },
  "luminance": 0.24055
}

Semantic roles & 50–950 ramp

primary
#799012
secondary
#533AC4
accent
#34F457
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #799012

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

Preview Lab → · Contrast checker → · Palette generator →

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