#62791B#62791B

#62791B is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 53.9% C 0.120 H 122.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#62791B
RGBrgb(98, 121, 27)
HSLhsl(75, 64%, 29%)
HSVhsv(75, 78%, 47%)
CMYKcmyk(19%, 0%, 77.7%, 52.5%)
CIE-LABlab(47.43, -22.07, 45.43)
CIE-LCHlch(47.43, 50.51, 115.91°)
OKLaboklab(53.93% -0.0647 0.1006)
OKLCHoklch(53.93% 0.12 122.7)
XYZxyz(12.0724, 16.3505, 3.5567)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62791B #321B79
analogous
#79611B #62791B #33791B
triadic
#62791B #1B6279 #791B62
tetradic
#62791B #1B7961 #321B79 #791B33
square
#62791B #1B7961 #321B79 #791B33
split-complementary
#62791B #1B3379 #611B79
monochromatic
#141906 #394710 #62791B #8BAB26 #AED33B

Accessibility & contrast

On white

4.92
#62791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #62791B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62791B#FFFFFF#000000##FFFFFF
##62791B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807106
Deuteranopia (green-blind)
#7E7024
Tritanopia (blue-blind)
#677367
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #62791b;
/* rgb */ color: rgb(98, 121, 27);
/* oklch */ color: oklch(53.9% 0.120 122.7);
Tailwind
colors: {
  custom: {
    50: '#929f5f',
    500: '#62791b',
    950: '#000000',
  },
}
SCSS
$custom: #62791b;
$custom-light: #929f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#62791b",
  "rgb": {
    "r": 98,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 74.681,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53931,
    "c": 0.11961,
    "h": 122.7
  },
  "luminance": 0.16351
}

Semantic roles & 50–950 ramp

primary
#62791B
secondary
#5D43AD
accent
#41E76A
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #62791B

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

Preview Lab → · Contrast checker → · Palette generator →

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