#235A0F#235A0F

#235A0F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.119 H 139.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#235A0F
RGBrgb(35, 90, 15)
HSLhsl(104, 71%, 21%)
HSVhsv(104, 83%, 35%)
CMYKcmyk(61.1%, 0%, 83.3%, 64.7%)
CIE-LABlab(33.36, -32.74, 35.06)
CIE-LCHlch(33.36, 47.97, 133.04°)
OKLaboklab(41.47% -0.0902 0.0782)
OKLCHoklch(41.47% 0.119 139.1)
XYZxyz(4.4353, 7.7038, 1.7051)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235A0F #460F5A
analogous
#485A0F #235A0F #0F5A20
triadic
#235A0F #0F235A #5A0F23
tetradic
#235A0F #0F485A #460F5A #5A200F
square
#235A0F #0F485A #460F5A #5A200F
split-complementary
#235A0F #200F5A #5A0F48
monochromatic
#0A1A04 #0F2606 #235A0F #378E18 #4CC320

Accessibility & contrast

On white

8.27
#235A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#235A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235A0F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235A0F#FFFFFF#000000##FFFFFF
##235A0F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#1D574C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #235a0f;
/* rgb */ color: rgb(35, 90, 15);
/* oklch */ color: oklch(41.5% 0.119 139.1);
Tailwind
colors: {
  custom: {
    50: '#658954',
    500: '#235a0f',
    950: '#000000',
  },
}
SCSS
$custom: #235a0f;
$custom-light: #658954;
$custom-dark: #000000;
JSON
{
  "hex": "#235a0f",
  "rgb": {
    "r": 35,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 104,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41468,
    "c": 0.11942,
    "h": 139.1
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#235A0F
secondary
#793194
accent
#3AEEBE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #235A0F

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

Preview Lab → · Contrast checker → · Palette generator →

#235A0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva