#298013#298013

#298013 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.161 H 140.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#298013
RGBrgb(41, 128, 19)
HSLhsl(108, 74%, 29%)
HSVhsv(108, 85%, 50%)
CMYKcmyk(68%, 0%, 85.2%, 49.8%)
CIE-LABlab(46.92, -45.42, 46.54)
CIE-LCHlch(46.92, 65.03, 134.30°)
OKLaboklab(52.75% -0.1245 0.1028)
OKLCHoklch(52.75% 0.161 140.5)
XYZxyz(8.7507, 15.9559, 3.2346)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298013 #6A1380
analogous
#608013 #298013 #138034
triadic
#298013 #132980 #801329
tetradic
#298013 #136080 #6A1380 #803413
square
#298013 #136080 #6A1380 #803413
split-complementary
#298013 #341380 #801360
monochromatic
#091B04 #184B0B #298013 #3AB51B #52E02D

Accessibility & contrast

On white

5.01
#298013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#298013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298013
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298013#FFFFFF#000000##FFFFFF
##2980131.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#796D21
Tritanopia (blue-blind)
#1A7C6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #298013;
/* rgb */ color: rgb(41, 128, 19);
/* oklch */ color: oklch(52.7% 0.161 140.5);
Tailwind
colors: {
  custom: {
    50: '#70a65c',
    500: '#298013',
    950: '#000000',
  },
}
SCSS
$custom: #298013;
$custom-light: #70a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#298013",
  "rgb": {
    "r": 41,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 107.89,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.16144,
    "h": 140.5
  },
  "luminance": 0.15957
}

Semantic roles & 50–950 ramp

primary
#298013
secondary
#9C39B5
accent
#37F1CB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #298013

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

Preview Lab → · Contrast checker → · Palette generator →

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