#238123#238123

#238123 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.156 H 143.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#238123
RGBrgb(35, 129, 35)
HSLhsl(120, 57%, 32%)
HSVhsv(120, 73%, 51%)
CMYKcmyk(72.9%, 0%, 72.9%, 49.4%)
CIE-LABlab(47.21, -45.85, 41.15)
CIE-LCHlch(47.21, 61.61, 138.09°)
OKLaboklab(52.98% -0.1245 0.0939)
OKLCHoklch(52.98% 0.156 143)
XYZxyz(8.8462, 16.1782, 4.2463)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238123 #812381
analogous
#528123 #238123 #238152
triadic
#238123 #232381 #812323
tetradic
#238123 #235281 #812381 #815223
square
#238123 #235281 #812381 #815223
split-complementary
#238123 #522381 #812352
monochromatic
#092109 #165116 #238123 #30B130 #4FCF4F

Accessibility & contrast

On white

4.96
#238123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#238123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238123
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238123#FFFFFF#000000##FFFFFF
##2381231.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847414
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#047D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #238123;
/* rgb */ color: rgb(35, 129, 35);
/* oklch */ color: oklch(53.0% 0.156 143.0);
Tailwind
colors: {
  custom: {
    50: '#6da764',
    500: '#238123',
    950: '#000000',
  },
}
SCSS
$custom: #238123;
$custom-light: #6da764;
$custom-dark: #000000;
JSON
{
  "hex": "#238123",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 120,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52979,
    "c": 0.15593,
    "h": 143
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#238123
secondary
#B34DB3
accent
#47E1E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #238123

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

Preview Lab → · Contrast checker → · Palette generator →

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