#298545#298545

#298545 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.130 H 149.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#298545
RGBrgb(41, 133, 69)
HSLhsl(138, 53%, 34%)
HSVhsv(138, 69%, 52%)
CMYKcmyk(69.2%, 0%, 48.1%, 47.8%)
CIE-LABlab(49.10, -41.64, 26.78)
CIE-LCHlch(49.10, 49.51, 147.25°)
OKLaboklab(54.71% -0.1122 0.0655)
OKLCHoklch(54.71% 0.13 149.7)
XYZxyz(10.3754, 17.6750, 8.4939)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298545 #852969
analogous
#3B8529 #298545 #298573
triadic
#298545 #452985 #854529
tetradic
#298545 #293B85 #852969 #857329
square
#298545 #293B85 #852969 #857329
split-complementary
#298545 #732985 #85293B
monochromatic
#0C2714 #1B562D #298545 #37B45D #5CCD7E

Accessibility & contrast

On white

4.63
#298545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#298545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #298545
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298545#FFFFFF#000000##FFFFFF
##2985451.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867940
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298545;
/* rgb */ color: rgb(41, 133, 69);
/* oklch */ color: oklch(54.7% 0.130 149.7);
Tailwind
colors: {
  custom: {
    50: '#6fa97a',
    500: '#298545',
    950: '#000000',
  },
}
SCSS
$custom: #298545;
$custom-light: #6fa97a;
$custom-dark: #000000;
JSON
{
  "hex": "#298545",
  "rgb": {
    "r": 41,
    "g": 133,
    "b": 69
  },
  "hsl": {
    "h": 138.261,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54711,
    "c": 0.12996,
    "h": 149.7
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#298545
secondary
#B25897
accent
#4CB0DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #298545

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

Preview Lab → · Contrast checker → · Palette generator →

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