#23B31F#23B31F

#23B31F is a light, highly saturated green. Relative luminance 0.327; OKLCH L 66.9% C 0.214 H 142.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#23B31F
RGBrgb(35, 179, 31)
HSLhsl(118, 70%, 41%)
HSVhsv(118, 83%, 70%)
CMYKcmyk(80.4%, 0%, 82.7%, 29.8%)
CIE-LABlab(63.91, -62.41, 58.79)
CIE-LCHlch(63.91, 85.74, 136.71°)
OKLaboklab(66.86% -0.1695 0.1301)
OKLCHoklch(66.86% 0.214 142.5)
XYZxyz(17.0595, 32.6944, 6.7076)
Luminance0.3270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23B31F #AF1FB3
analogous
#6DB31F #23B31F #1FB365
triadic
#23B31F #1F23B3 #B31F23
tetradic
#23B31F #1F6DB3 #AF1FB3 #B3651F
square
#23B31F #1F6DB3 #AF1FB3 #B3651F
split-complementary
#23B31F #651FB3 #B31F6D
monochromatic
#0F4B0D #197F16 #23B31F #38DC33 #6BE568

Accessibility & contrast

On white

2.79
#23B31F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#23B31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #23B31F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23B31F#FFFFFF#000000##000000
##23B31F1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #23b31f;
/* rgb */ color: rgb(35, 179, 31);
/* oklch */ color: oklch(66.9% 0.214 142.5);
Tailwind
colors: {
  custom: {
    50: '#7acb69',
    500: '#23b31f',
    950: '#000000',
  },
}
SCSS
$custom: #23b31f;
$custom-light: #7acb69;
$custom-dark: #000000;
JSON
{
  "hex": "#23b31f",
  "rgb": {
    "r": 35,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 118.378,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66857,
    "c": 0.21374,
    "h": 142.5
  },
  "luminance": 0.32696
}

Semantic roles & 50–950 ramp

primary
#23B31F
secondary
#C764CA
accent
#3BEDE8
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #23B31F

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

Preview Lab → · Contrast checker → · Palette generator →

#23B31F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva