#123F0F#123F0F

#123F0F is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.5% C 0.091 H 142.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#123F0F
RGBrgb(18, 63, 15)
HSLhsl(116, 62%, 15%)
HSVhsv(116, 76%, 25%)
CMYKcmyk(71.4%, 0%, 76.2%, 75.3%)
CIE-LABlab(22.72, -26.29, 24.07)
CIE-LCHlch(22.72, 35.64, 137.52°)
OKLaboklab(32.5% -0.0716 0.0554)
OKLCHoklch(32.5% 0.091 142.2)
XYZxyz(2.1131, 3.7179, 1.0581)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F0F #3C0F3F
analogous
#2A3F0F #123F0F #0F3F24
triadic
#123F0F #0F123F #3F0F12
tetradic
#123F0F #0F2A3F #3C0F3F #3F240F
square
#123F0F #0F2A3F #3C0F3F #3F240F
split-complementary
#123F0F #240F3F #3F0F2A
monochromatic
#071906 #071906 #123F0F #20701B #2EA227

Accessibility & contrast

On white

12.04
#123F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#123F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F0F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F0F#FFFFFF#000000##FFFFFF
##123F0F1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413909
Deuteranopia (green-blind)
#3B3513
Tritanopia (blue-blind)
#0A3D35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123f0f;
/* rgb */ color: rgb(18, 63, 15);
/* oklch */ color: oklch(32.5% 0.091 142.2);
Tailwind
colors: {
  custom: {
    50: '#577450',
    500: '#123f0f',
    950: '#000000',
  },
}
SCSS
$custom: #123f0f;
$custom-light: #577450;
$custom-dark: #000000;
JSON
{
  "hex": "#123f0f",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 15
  },
  "hsl": {
    "h": 116.25,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.32504,
    "c": 0.09053,
    "h": 142.2
  },
  "luminance": 0.03718
}

Semantic roles & 50–950 ramp

primary
#123F0F
secondary
#753079
accent
#43E5DB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #123F0F

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

Preview Lab → · Contrast checker → · Palette generator →

#123F0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva