#298730#298730

#298730 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.152 H 144.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#298730
RGBrgb(41, 135, 48)
HSLhsl(124, 53%, 35%)
HSVhsv(124, 70%, 53%)
CMYKcmyk(69.6%, 0%, 64.4%, 47.1%)
CIE-LABlab(49.51, -45.46, 37.96)
CIE-LCHlch(49.51, 59.22, 140.14°)
OKLaboklab(54.97% -0.1231 0.0886)
OKLCHoklch(54.97% 0.152 144.2)
XYZxyz(10.1113, 18.0117, 5.7395)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298730 #872980
analogous
#518729 #298730 #29875F
triadic
#298730 #302987 #873029
tetradic
#298730 #295187 #872980 #875F29
square
#298730 #295187 #872980 #875F29
split-complementary
#298730 #5F2987 #872951
monochromatic
#0C290F #1B581F #298730 #37B641 #5DCE65

Accessibility & contrast

On white

4.56
#298730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#298730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298730
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298730#FFFFFF#000000##000000
##2987301.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A26
Deuteranopia (green-blind)
#7E7337
Tritanopia (blue-blind)
#0D8375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #298730;
/* rgb */ color: rgb(41, 135, 48);
/* oklch */ color: oklch(55.0% 0.152 144.2);
Tailwind
colors: {
  custom: {
    50: '#70ab6c',
    500: '#298730',
    950: '#000000',
  },
}
SCSS
$custom: #298730;
$custom-light: #70ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#298730",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 124.468,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54965,
    "c": 0.15167,
    "h": 144.2
  },
  "luminance": 0.18013
}

Semantic roles & 50–950 ramp

primary
#298730
secondary
#B359AC
accent
#4BD2DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #298730

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

Preview Lab → · Contrast checker → · Palette generator →

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