#235F0C#235F0C

#235F0C is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.127 H 139.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#235F0C
RGBrgb(35, 95, 12)
HSLhsl(103, 78%, 21%)
HSVhsv(103, 87%, 37%)
CMYKcmyk(63.2%, 0%, 87.4%, 62.7%)
CIE-LABlab(35.14, -34.95, 37.74)
CIE-LCHlch(35.14, 51.44, 132.81°)
OKLaboklab(42.93% -0.0963 0.0833)
OKLCHoklch(42.93% 0.127 139.1)
XYZxyz(4.8515, 8.5679, 1.7459)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235F0C #480C5F
analogous
#4C5F0C #235F0C #0C5F1E
triadic
#235F0C #0C235F #5F0C23
tetradic
#235F0C #0C4C5F #480C5F #5F1E0C
square
#235F0C #0C4C5F #480C5F #5F1E0C
split-complementary
#235F0C #1E0C5F #5F0C4C
monochromatic
#0A1B03 #0F2905 #235F0C #379513 #4BCC1A

Accessibility & contrast

On white

7.74
#235F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#235F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235F0C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235F0C#FFFFFF#000000##FFFFFF
##235F0C1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#1C5B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #235f0c;
/* rgb */ color: rgb(35, 95, 12);
/* oklch */ color: oklch(42.9% 0.127 139.1);
Tailwind
colors: {
  custom: {
    50: '#678d54',
    500: '#235f0c',
    950: '#000000',
  },
}
SCSS
$custom: #235f0c;
$custom-light: #678d54;
$custom-dark: #000000;
JSON
{
  "hex": "#235f0c",
  "rgb": {
    "r": 35,
    "g": 95,
    "b": 12
  },
  "hsl": {
    "h": 103.373,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42934,
    "c": 0.12738,
    "h": 139.1
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#235F0C
secondary
#7B2D99
accent
#34F4BF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #235F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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