#298723#298723

#298723 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.161 H 142.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#298723
RGBrgb(41, 135, 35)
HSLhsl(116, 59%, 33%)
HSVhsv(116, 74%, 53%)
CMYKcmyk(69.6%, 0%, 74.1%, 47.1%)
CIE-LABlab(49.40, -46.79, 43.47)
CIE-LCHlch(49.40, 63.86, 137.11°)
OKLaboklab(54.84% -0.1273 0.0987)
OKLCHoklch(54.84% 0.161 142.2)
XYZxyz(9.8812, 17.9197, 4.5279)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298723 #812387
analogous
#5B8723 #298723 #23874F
triadic
#298723 #232987 #872329
tetradic
#298723 #235B87 #812387 #874F23
square
#298723 #235B87 #812387 #874F23
split-complementary
#298723 #4F2387 #87235B
monochromatic
#0B260A #1A5616 #298723 #38B830 #5AD252

Accessibility & contrast

On white

4.58
#298723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#298723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298723
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298723#FFFFFF#000000##000000
##2987231.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#7F732D
Tritanopia (blue-blind)
#128373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298723;
/* rgb */ color: rgb(41, 135, 35);
/* oklch */ color: oklch(54.8% 0.161 142.2);
Tailwind
colors: {
  custom: {
    50: '#71ab64',
    500: '#298723',
    950: '#000000',
  },
}
SCSS
$custom: #298723;
$custom-light: #71ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#298723",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 116.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54837,
    "c": 0.16111,
    "h": 142.2
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#298723
secondary
#B050B6
accent
#46E2D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298723

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

Preview Lab → · Contrast checker → · Palette generator →

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