#258312#258312

#258312 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.167 H 141.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#258312
RGBrgb(37, 131, 18)
HSLhsl(110, 76%, 29%)
HSVhsv(110, 86%, 51%)
CMYKcmyk(71.8%, 0%, 86.3%, 48.6%)
CIE-LABlab(47.84, -47.38, 47.61)
CIE-LCHlch(47.84, 67.17, 134.86°)
OKLaboklab(53.49% -0.1296 0.1049)
OKLCHoklch(53.49% 0.167 141)
XYZxyz(8.9880, 16.6686, 3.3158)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258312 #701283
analogous
#5E8312 #258312 #128338
triadic
#258312 #122583 #831225
tetradic
#258312 #125E83 #701283 #833812
square
#258312 #125E83 #701283 #833812
split-complementary
#258312 #381283 #83125E
monochromatic
#081B04 #164D0B #258312 #34B919 #4CE22D

Accessibility & contrast

On white

4.85
#258312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#258312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #258312
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258312#FFFFFF#000000##FFFFFF
##2583121.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#0F7F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #258312;
/* rgb */ color: rgb(37, 131, 18);
/* oklch */ color: oklch(53.5% 0.167 141.0);
Tailwind
colors: {
  custom: {
    50: '#6fa85c',
    500: '#258312',
    950: '#000000',
  },
}
SCSS
$custom: #258312;
$custom-light: #6fa85c;
$custom-dark: #000000;
JSON
{
  "hex": "#258312",
  "rgb": {
    "r": 37,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 109.912,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53485,
    "c": 0.16673,
    "h": 141
  },
  "luminance": 0.1667
}

Semantic roles & 50–950 ramp

primary
#258312
secondary
#A338B8
accent
#35F2D3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#081005
muted
#7B7F79

Preview Lab

Preview with #258312

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

Preview Lab → · Contrast checker → · Palette generator →

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