#298239#298239

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

Color values

HEX#298239
RGBrgb(41, 130, 57)
HSLhsl(131, 52%, 34%)
HSVhsv(131, 68%, 51%)
CMYKcmyk(68.5%, 0%, 56.2%, 49%)
CIE-LABlab(47.92, -42.38, 31.67)
CIE-LCHlch(47.92, 52.91, 143.23°)
OKLaboklab(53.68% -0.1144 0.0758)
OKLCHoklch(53.68% 0.137 146.5)
XYZxyz(9.6349, 16.7311, 6.5918)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298239 #822972
analogous
#458229 #298239 #298265
triadic
#298239 #392982 #823929
tetradic
#298239 #294582 #822972 #826529
square
#298239 #294582 #822972 #826529
split-complementary
#298239 #652982 #822945
monochromatic
#0C2510 #1A5325 #298239 #38B14D #5ACB6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298239#FFFFFF#000000##FFFFFF
##2982391.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)
#847632
Deuteranopia (green-blind)
#796F3F
Tritanopia (blue-blind)
#0B7F72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #298239;
/* rgb */ color: rgb(41, 130, 57);
/* oklch */ color: oklch(53.7% 0.137 146.5);
Tailwind
colors: {
  custom: {
    50: '#6fa771',
    500: '#298239',
    950: '#000000',
  },
}
SCSS
$custom: #298239;
$custom-light: #6fa771;
$custom-dark: #000000;
JSON
{
  "hex": "#298239",
  "rgb": {
    "r": 41,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 130.787,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.13724,
    "h": 146.5
  },
  "luminance": 0.16732
}

Semantic roles & 50–950 ramp

primary
#298239
secondary
#B056A0
accent
#4CC2DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #298239

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

Preview Lab → · Contrast checker → · Palette generator →

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