#308123#308123

#308123 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.151 H 141.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#308123
RGBrgb(48, 129, 35)
HSLhsl(112, 57%, 32%)
HSVhsv(112, 73%, 51%)
CMYKcmyk(62.8%, 0%, 72.9%, 49.4%)
CIE-LABlab(47.56, -42.96, 41.63)
CIE-LCHlch(47.56, 59.82, 135.90°)
OKLaboklab(53.37% -0.1174 0.0948)
OKLCHoklch(53.37% 0.151 141.1)
XYZxyz(9.3721, 16.4494, 4.2709)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308123 #742381
analogous
#5F8123 #308123 #238145
triadic
#308123 #233081 #812330
tetradic
#308123 #235F81 #742381 #814523
square
#308123 #235F81 #742381 #814523
split-complementary
#308123 #452381 #81235F
monochromatic
#0C2109 #1E5116 #308123 #42B130 #61CF4F

Accessibility & contrast

On white

4.90
#308123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#308123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308123
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308123#FFFFFF#000000##FFFFFF
##3081231.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847514
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#247D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308123;
/* rgb */ color: rgb(48, 129, 35);
/* oklch */ color: oklch(53.4% 0.151 141.1);
Tailwind
colors: {
  custom: {
    50: '#73a664',
    500: '#308123',
    950: '#000000',
  },
}
SCSS
$custom: #308123;
$custom-light: #73a664;
$custom-dark: #000000;
JSON
{
  "hex": "#308123",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 111.702,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5337,
    "c": 0.15092,
    "h": 141.1
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#308123
secondary
#A54DB3
accent
#47E1CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #308123

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

Preview Lab → · Contrast checker → · Palette generator →

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