#122307#122307

#122307 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.3% C 0.054 H 134.9°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#122307
RGBrgb(18, 35, 7)
HSLhsl(96, 67%, 8%)
HSVhsv(96, 80%, 14%)
CMYKcmyk(48.6%, 0%, 80%, 86.3%)
CIE-LABlab(11.59, -13.60, 14.07)
CIE-LCHlch(11.59, 19.57, 134.02°)
OKLaboklab(23.33% -0.0378 0.0379)
OKLCHoklch(23.33% 0.054 134.9)
XYZxyz(0.8888, 1.3460, 0.4139)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122307 #180723
analogous
#202307 #122307 #07230A
triadic
#122307 #071223 #230712
tetradic
#122307 #072023 #180723 #230A07
square
#122307 #072023 #180723 #230A07
split-complementary
#122307 #0A0723 #230720
monochromatic
#0D1A05 #0D1A05 #122307 #2C5611 #46891B

Accessibility & contrast

On white

16.55
#122307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#122307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122307
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122307#FFFFFF#000000##FFFFFF
##1223071.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252005
Deuteranopia (green-blind)
#221E09
Tritanopia (blue-blind)
#12211D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #122307;
/* rgb */ color: rgb(18, 35, 7);
/* oklch */ color: oklch(23.3% 0.054 134.9);
Tailwind
colors: {
  custom: {
    50: '#505e4a',
    500: '#122307',
    950: '#000000',
  },
}
SCSS
$custom: #122307;
$custom-light: #505e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#122307",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 7
  },
  "hsl": {
    "h": 96.429,
    "s": 66.667,
    "l": 8.235
  },
  "oklch": {
    "l": 0.23327,
    "c": 0.05355,
    "h": 134.9
  },
  "luminance": 0.01346
}

Semantic roles & 50–950 ramp

primary
#122307
secondary
#4A2462
accent
#3EEAA6
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020401
muted
#787977

Preview Lab

Preview with #122307

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

Preview Lab → · Contrast checker → · Palette generator →

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