#307F23#307F23

#307F23 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.148 H 141.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#307F23
RGBrgb(48, 127, 35)
HSLhsl(112, 57%, 32%)
HSVhsv(112, 72%, 50%)
CMYKcmyk(62.2%, 0%, 72.4%, 50.2%)
CIE-LABlab(46.88, -42.20, 40.92)
CIE-LCHlch(46.88, 58.78, 135.88°)
OKLaboklab(52.81% -0.1154 0.0933)
OKLCHoklch(52.81% 0.148 141)
XYZxyz(9.1112, 15.9276, 4.1840)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F23 #72237F
analogous
#5E7F23 #307F23 #237F44
triadic
#307F23 #23307F #7F2330
tetradic
#307F23 #235E7F #72237F #7F4423
square
#307F23 #235E7F #72237F #7F4423
split-complementary
#307F23 #44237F #7F235E
monochromatic
#0C1F09 #1E4F16 #307F23 #42AF30 #60CE4E

Accessibility & contrast

On white

5.02
#307F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#307F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F23
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F23#FFFFFF#000000##FFFFFF
##307F231.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#247B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f23;
/* rgb */ color: rgb(48, 127, 35);
/* oklch */ color: oklch(52.8% 0.148 141.0);
Tailwind
colors: {
  custom: {
    50: '#72a564',
    500: '#307f23',
    950: '#000000',
  },
}
SCSS
$custom: #307f23;
$custom-light: #72a564;
$custom-dark: #000000;
JSON
{
  "hex": "#307f23",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 111.522,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52808,
    "c": 0.14838,
    "h": 141
  },
  "luminance": 0.15928
}

Semantic roles & 50–950 ramp

primary
#307F23
secondary
#A34CB1
accent
#48E0CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #307F23

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

Preview Lab → · Contrast checker → · Palette generator →

#307F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva