#298310#298310

#298310 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.166 H 140.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#298310
RGBrgb(41, 131, 16)
HSLhsl(107, 78%, 29%)
HSVhsv(107, 88%, 51%)
CMYKcmyk(68.7%, 0%, 87.8%, 48.6%)
CIE-LABlab(47.93, -46.63, 48.25)
CIE-LCHlch(47.93, 67.10, 134.02°)
OKLaboklab(53.59% -0.1279 0.106)
OKLCHoklch(53.59% 0.166 140.4)
XYZxyz(9.1238, 16.7405, 3.2405)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298310 #6A1083
analogous
#638310 #298310 #108331
triadic
#298310 #102983 #831029
tetradic
#298310 #106383 #6A1083 #833110
square
#298310 #106383 #6A1083 #833110
split-complementary
#298310 #311083 #831063
monochromatic
#091B03 #184C09 #298310 #3ABA17 #52E529

Accessibility & contrast

On white

4.83
#298310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#298310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298310
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298310#FFFFFF#000000##FFFFFF
##2983101.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#197E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #298310;
/* rgb */ color: rgb(41, 131, 16);
/* oklch */ color: oklch(53.6% 0.166 140.4);
Tailwind
colors: {
  custom: {
    50: '#71a85c',
    500: '#298310',
    950: '#000000',
  },
}
SCSS
$custom: #298310;
$custom-light: #71a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#298310",
  "rgb": {
    "r": 41,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 106.957,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.16606,
    "h": 140.4
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

primary
#298310
secondary
#9C36B9
accent
#33F5CB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091004
muted
#7B7F79

Preview Lab

Preview with #298310

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

Preview Lab → · Contrast checker → · Palette generator →

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