#123902#123902

#123902 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.5% C 0.092 H 138.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#123902
RGBrgb(18, 57, 2)
HSLhsl(103, 93%, 12%)
HSVhsv(103, 96%, 22%)
CMYKcmyk(68.4%, 0%, 96.5%, 77.6%)
CIE-LABlab(20.28, -25.02, 27.00)
CIE-LCHlch(20.28, 36.80, 132.82°)
OKLaboklab(30.45% -0.0692 0.0612)
OKLCHoklch(30.45% 0.092 138.5)
XYZxyz(1.7235, 3.0591, 0.5571)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123902 #290239
analogous
#2E3902 #123902 #02390E
triadic
#123902 #021239 #390212
tetradic
#123902 #022E39 #290239 #390E02
square
#123902 #022E39 #290239 #390E02
split-complementary
#123902 #0E0239 #39022E
monochromatic
#091E01 #091E01 #123902 #257404 #37AF06

Accessibility & contrast

On white

13.03
#123902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#123902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123902
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123902#FFFFFF#000000##FFFFFF
##1239021.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#363007
Tritanopia (blue-blind)
#0E372F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #123902;
/* rgb */ color: rgb(18, 57, 2);
/* oklch */ color: oklch(30.5% 0.092 138.5);
Tailwind
colors: {
  custom: {
    50: '#567048',
    500: '#123902',
    950: '#000000',
  },
}
SCSS
$custom: #123902;
$custom-light: #567048;
$custom-dark: #000000;
JSON
{
  "hex": "#123902",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 102.545,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30453,
    "c": 0.09234,
    "h": 138.5
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#123902
secondary
#601A7D
accent
#29FFC1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #123902

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

Preview Lab → · Contrast checker → · Palette generator →

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