#62791F#62791F

#62791F is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 54.0% C 0.117 H 123.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#62791F
RGBrgb(98, 121, 31)
HSLhsl(75, 59%, 30%)
HSVhsv(75, 74%, 47%)
CMYKcmyk(19%, 0%, 74.4%, 52.5%)
CIE-LABlab(47.46, -21.84, 43.95)
CIE-LCHlch(47.46, 49.08, 116.43°)
OKLaboklab(53.96% -0.0637 0.0982)
OKLCHoklch(53.96% 0.117 123)
XYZxyz(12.1218, 16.3703, 3.8172)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62791F #361F79
analogous
#79631F #62791F #35791F
triadic
#62791F #1F6279 #791F62
tetradic
#62791F #1F7963 #361F79 #791F35
square
#62791F #1F7963 #361F79 #791F35
split-complementary
#62791F #1F3579 #631F79
monochromatic
#141806 #3B4813 #62791F #89AA2B #ABCF43

Accessibility & contrast

On white

4.91
#62791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#62791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #62791F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62791F#FFFFFF#000000##FFFFFF
##62791F1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710F
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#677367
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #62791f;
/* rgb */ color: rgb(98, 121, 31);
/* oklch */ color: oklch(54.0% 0.117 123.0);
Tailwind
colors: {
  custom: {
    50: '#919f61',
    500: '#62791f',
    950: '#000000',
  },
}
SCSS
$custom: #62791f;
$custom-light: #919f61;
$custom-dark: #000000;
JSON
{
  "hex": "#62791f",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 75.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53959,
    "c": 0.11704,
    "h": 123
  },
  "luminance": 0.1637
}

Semantic roles & 50–950 ramp

primary
#62791F
secondary
#6147AC
accent
#45E26E
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #62791F

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

Preview Lab → · Contrast checker → · Palette generator →

#62791F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva