#799234#799234

#799234 is a light, vivid yellow-green. Relative luminance 0.249; OKLCH L 62.1% C 0.124 H 122.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#799234
RGBrgb(121, 146, 52)
HSLhsl(76, 47%, 39%)
HSVhsv(76, 64%, 57%)
CMYKcmyk(17.1%, 0%, 64.4%, 42.7%)
CIE-LABlab(56.95, -23.19, 45.43)
CIE-LCHlch(56.95, 51.01, 117.05°)
OKLaboklab(62.09% -0.0668 0.104)
OKLCHoklch(62.09% 0.124 122.7)
XYZxyz(18.7841, 24.8706, 7.0591)
Luminance0.2487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799234 #4D3492
analogous
#927C34 #799234 #4A9234
triadic
#799234 #347992 #923479
tetradic
#799234 #34927C #4D3492 #92344A
square
#799234 #34927C #4D3492 #92344A
split-complementary
#799234 #344A92 #7C3492
monochromatic
#2E3814 #546524 #799234 #9DBD46 #B5CD73

Accessibility & contrast

On white

3.52
#799234 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#799234 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799234
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799234#FFFFFF#000000##000000
##7992341.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8928
Deuteranopia (green-blind)
#97893B
Tritanopia (blue-blind)
#7F8B7E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #799234;
/* rgb */ color: rgb(121, 146, 52);
/* oklch */ color: oklch(62.1% 0.124 122.7);
Tailwind
colors: {
  custom: {
    50: '#a2b270',
    500: '#799234',
    950: '#000000',
  },
}
SCSS
$custom: #799234;
$custom-light: #a2b270;
$custom-dark: #000000;
JSON
{
  "hex": "#799234",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 52
  },
  "hsl": {
    "h": 75.957,
    "s": 47.475,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62092,
    "c": 0.12365,
    "h": 122.7
  },
  "luminance": 0.24871
}

Semantic roles & 50–950 ramp

primary
#799234
secondary
#806CB5
accent
#51D774
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #799234

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

Preview Lab → · Contrast checker → · Palette generator →

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