#799229#799229

#799229 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 62.0% C 0.132 H 122.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#799229
RGBrgb(121, 146, 41)
HSLhsl(74, 56%, 37%)
HSVhsv(74, 72%, 57%)
CMYKcmyk(17.1%, 0%, 71.9%, 42.7%)
CIE-LABlab(56.86, -23.96, 49.93)
CIE-LCHlch(56.86, 55.38, 115.64°)
OKLaboklab(62% -0.07 0.1118)
OKLCHoklch(62% 0.132 122.1)
XYZxyz(18.5645, 24.7828, 5.9029)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799229 #422992
analogous
#927729 #799229 #459229
triadic
#799229 #297992 #922979
tetradic
#799229 #299277 #422992 #922945
square
#799229 #299277 #422992 #922945
split-complementary
#799229 #294592 #772992
monochromatic
#2A320E #51621C #799229 #A1C236 #B8D362

Accessibility & contrast

On white

3.53
#799229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#799229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799229
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799229#FFFFFF#000000##000000
##7992291.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8917
Deuteranopia (green-blind)
#988832
Tritanopia (blue-blind)
#7F8A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799229;
/* rgb */ color: rgb(121, 146, 41);
/* oklch */ color: oklch(62.0% 0.132 122.1);
Tailwind
colors: {
  custom: {
    50: '#a3b26a',
    500: '#799229',
    950: '#000000',
  },
}
SCSS
$custom: #799229;
$custom-light: #a3b26a;
$custom-dark: #000000;
JSON
{
  "hex": "#799229",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 41
  },
  "hsl": {
    "h": 74.286,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.13194,
    "h": 122.1
  },
  "luminance": 0.24783
}

Semantic roles & 50–950 ramp

primary
#799229
secondary
#745EB9
accent
#48DF6C
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #799229

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

Preview Lab → · Contrast checker → · Palette generator →

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