#248312#248312

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

Color values

HEX#248312
RGBrgb(36, 131, 18)
HSLhsl(110, 76%, 29%)
HSVhsv(110, 86%, 51%)
CMYKcmyk(72.5%, 0%, 86.3%, 48.6%)
CIE-LABlab(47.82, -47.58, 47.58)
CIE-LCHlch(47.82, 67.29, 135.00°)
OKLaboklab(53.46% -0.13 0.1049)
OKLCHoklch(53.46% 0.167 141.1)
XYZxyz(8.9526, 16.6504, 3.3142)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#248312 #711283
analogous
#5D8312 #248312 #128338
triadic
#248312 #122483 #831224
tetradic
#248312 #125D83 #711283 #833812
square
#248312 #125D83 #711283 #833812
split-complementary
#248312 #381283 #83125D
monochromatic
#071B04 #154D0B #248312 #33B919 #4AE22D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##248312#FFFFFF#000000##FFFFFF
##2483121.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)
#0C7F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #248312;
/* rgb */ color: rgb(36, 131, 18);
/* oklch */ color: oklch(53.5% 0.167 141.1);
Tailwind
colors: {
  custom: {
    50: '#6fa85c',
    500: '#248312',
    950: '#000000',
  },
}
SCSS
$custom: #248312;
$custom-light: #6fa85c;
$custom-dark: #000000;
JSON
{
  "hex": "#248312",
  "rgb": {
    "r": 36,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 110.442,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53459,
    "c": 0.16706,
    "h": 141.1
  },
  "luminance": 0.16651
}

Semantic roles & 50–950 ramp

primary
#248312
secondary
#A438B8
accent
#35F2D4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#081005
muted
#7B7F79

Preview Lab

Preview with #248312

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

Preview Lab → · Contrast checker → · Palette generator →

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