#307B23#307B23

#307B23 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.143 H 140.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#307B23
RGBrgb(48, 123, 35)
HSLhsl(111, 56%, 31%)
HSVhsv(111, 72%, 48%)
CMYKcmyk(61%, 0%, 71.5%, 51.8%)
CIE-LABlab(45.52, -40.65, 39.49)
CIE-LCHlch(45.52, 56.68, 135.83°)
OKLaboklab(51.68% -0.1112 0.0903)
OKLCHoklch(51.68% 0.143 140.9)
XYZxyz(8.6048, 14.9149, 4.0152)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B23 #6E237B
analogous
#5C7B23 #307B23 #237B42
triadic
#307B23 #23307B #7B2330
tetradic
#307B23 #235C7B #6E237B #7B4223
square
#307B23 #235C7B #6E237B #7B4223
split-complementary
#307B23 #42237B #7B235C
monochromatic
#0B1C08 #1D4B15 #307B23 #43AB31 #5FCC4C

Accessibility & contrast

On white

5.27
#307B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#307B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B23
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B23#FFFFFF#000000##FFFFFF
##307B231.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7016
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#257769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b23;
/* rgb */ color: rgb(48, 123, 35);
/* oklch */ color: oklch(51.7% 0.143 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a263',
    500: '#307b23',
    950: '#000000',
  },
}
SCSS
$custom: #307b23;
$custom-light: #72a263;
$custom-dark: #000000;
JSON
{
  "hex": "#307b23",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 111.136,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51683,
    "c": 0.14324,
    "h": 140.9
  },
  "luminance": 0.14916
}

Semantic roles & 50–950 ramp

primary
#307B23
secondary
#9F4CAE
accent
#49DFC9
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #307B23

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

Preview Lab → · Contrast checker → · Palette generator →

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