#799262#799262

#799262 is a light, moderate yellow-green. Relative luminance 0.255; OKLCH L 62.8% C 0.075 H 130.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#799262
RGBrgb(121, 146, 98)
HSLhsl(91, 20%, 48%)
HSVhsv(91, 33%, 57%)
CMYKcmyk(17.1%, 0%, 32.9%, 42.7%)
CIE-LABlab(57.56, -17.87, 22.62)
CIE-LCHlch(57.56, 28.83, 128.31°)
OKLaboklab(62.79% -0.0486 0.0566)
OKLCHoklch(62.79% 0.075 130.6)
XYZxyz(20.3683, 25.5043, 15.4026)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799262 #7B6292
analogous
#919262 #799262 #629263
triadic
#799262 #627992 #926279
tetradic
#799262 #629192 #7B6292 #926362
square
#799262 #629192 #7B6292 #926362
split-complementary
#799262 #636292 #926291
monochromatic
#3C4931 #5B6D49 #799262 #98AD84 #B7C5A9

Accessibility & contrast

On white

3.44
#799262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#799262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799262
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799262#FFFFFF#000000##000000
##7992621.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968B5F
Deuteranopia (green-blind)
#938A64
Tritanopia (blue-blind)
#7A8E86
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #799262;
/* rgb */ color: rgb(121, 146, 98);
/* oklch */ color: oklch(62.8% 0.075 130.6);
Tailwind
colors: {
  custom: {
    50: '#a0b28f',
    500: '#799262',
    950: '#000000',
  },
}
SCSS
$custom: #799262;
$custom-light: #a0b28f;
$custom-dark: #000000;
JSON
{
  "hex": "#799262",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 98
  },
  "hsl": {
    "h": 91.25,
    "s": 19.672,
    "l": 47.843
  },
  "oklch": {
    "l": 0.62785,
    "c": 0.07456,
    "h": 130.6
  },
  "luminance": 0.25505
}

Semantic roles & 50–950 ramp

primary
#799262
secondary
#A89CB4
accent
#6CBC96
background
#F9FAF8
surface
#F2F5F0
border
#CCCFCB
text
#0F100C
muted
#7E7F7D

Preview Lab

Preview with #799262

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

Preview Lab → · Contrast checker → · Palette generator →

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