#233A04#233A04

#233A04 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.7% C 0.082 H 130.7°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#233A04
RGBrgb(35, 58, 4)
HSLhsl(86, 87%, 12%)
HSVhsv(86, 93%, 23%)
CMYKcmyk(39.7%, 0%, 93.1%, 77.3%)
CIE-LABlab(21.55, -18.76, 27.83)
CIE-LCHlch(21.55, 33.56, 123.98°)
OKLaboklab(31.74% -0.0535 0.0621)
OKLCHoklch(31.74% 0.082 130.7)
XYZxyz(2.2281, 3.3921, 0.6522)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A04 #1B043A
analogous
#3A3604 #233A04 #083A04
triadic
#233A04 #04233A #3A0423
tetradic
#233A04 #043A36 #1B043A #3A0408
square
#233A04 #043A36 #1B043A #3A0408
split-complementary
#233A04 #04083A #36043A
monochromatic
#111D02 #111D02 #233A04 #467308 #68AD0C

Accessibility & contrast

On white

12.51
#233A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#233A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A04
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A04#FFFFFF#000000##FFFFFF
##233A041.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3A3309
Tritanopia (blue-blind)
#243730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #233a04;
/* rgb */ color: rgb(35, 58, 4);
/* oklch */ color: oklch(31.7% 0.082 130.7);
Tailwind
colors: {
  custom: {
    50: '#61704a',
    500: '#233a04',
    950: '#000000',
  },
}
SCSS
$custom: #233a04;
$custom-light: #61704a;
$custom-dark: #000000;
JSON
{
  "hex": "#233a04",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 85.556,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31742,
    "c": 0.08198,
    "h": 130.7
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#233A04
secondary
#461E7C
accent
#2BFD84
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #233A04

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

Preview Lab → · Contrast checker → · Palette generator →

#233A04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva