#298525#298525

#298525 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.157 H 142.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#298525
RGBrgb(41, 133, 37)
HSLhsl(118, 56%, 33%)
HSVhsv(118, 72%, 52%)
CMYKcmyk(69.2%, 0%, 72.2%, 47.8%)
CIE-LABlab(48.73, -45.89, 41.97)
CIE-LCHlch(48.73, 62.19, 137.55°)
OKLaboklab(54.29% -0.1248 0.0958)
OKLCHoklch(54.29% 0.157 142.5)
XYZxyz(9.6354, 17.3790, 4.5966)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298525 #812585
analogous
#598525 #298525 #258551
triadic
#298525 #252985 #852529
tetradic
#298525 #255985 #812585 #855125
square
#298525 #255985 #812585 #855125
split-complementary
#298525 #512585 #852559
monochromatic
#0B250A #1A5518 #298525 #38B532 #5AD055

Accessibility & contrast

On white

4.69
#298525 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#298525 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298525
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298525#FFFFFF#000000##FFFFFF
##2985251.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887816
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#138172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #298525;
/* rgb */ color: rgb(41, 133, 37);
/* oklch */ color: oklch(54.3% 0.157 142.5);
Tailwind
colors: {
  custom: {
    50: '#70a965',
    500: '#298525',
    950: '#000000',
  },
}
SCSS
$custom: #298525;
$custom-light: #70a965;
$custom-dark: #000000;
JSON
{
  "hex": "#298525",
  "rgb": {
    "r": 41,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 117.5,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.15736,
    "h": 142.5
  },
  "luminance": 0.1738
}

Semantic roles & 50–950 ramp

primary
#298525
secondary
#B052B4
accent
#48E0D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298525

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

Preview Lab → · Contrast checker → · Palette generator →

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