#297124#297124

#297124 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.132 H 142.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#297124
RGBrgb(41, 113, 36)
HSLhsl(116, 52%, 29%)
HSVhsv(116, 68%, 44%)
CMYKcmyk(63.7%, 0%, 68.1%, 55.7%)
CIE-LABlab(41.86, -38.44, 35.05)
CIE-LCHlch(41.86, 52.02, 137.64°)
OKLaboklab(48.6% -0.1047 0.0811)
OKLCHoklch(48.6% 0.132 142.2)
XYZxyz(7.1376, 12.4084, 3.6876)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297124 #6C2471
analogous
#507124 #297124 #247146
triadic
#297124 #242971 #712429
tetradic
#297124 #245071 #6C2471 #714624
square
#297124 #245071 #6C2471 #714624
split-complementary
#297124 #462471 #712450
monochromatic
#081707 #184315 #297124 #3A9F33 #52C54A

Accessibility & contrast

On white

6.03
#297124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#297124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297124
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297124#FFFFFF#000000##FFFFFF
##2971241.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74661A
Deuteranopia (green-blind)
#6B602B
Tritanopia (blue-blind)
#1D6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #297124;
/* rgb */ color: rgb(41, 113, 36);
/* oklch */ color: oklch(48.6% 0.132 142.2);
Tailwind
colors: {
  custom: {
    50: '#6c9a62',
    500: '#297124',
    950: '#000000',
  },
}
SCSS
$custom: #297124;
$custom-light: #6c9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#297124",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 116.104,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48599,
    "c": 0.13245,
    "h": 142.2
  },
  "luminance": 0.12409
}

Semantic roles & 50–950 ramp

primary
#297124
secondary
#9E4DA4
accent
#4DDBD2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #297124

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

Preview Lab → · Contrast checker → · Palette generator →

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