#233F12#233F12

#233F12 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.4% C 0.078 H 135.5°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#233F12
RGBrgb(35, 63, 18)
HSLhsl(97, 56%, 16%)
HSVhsv(97, 71%, 25%)
CMYKcmyk(44.4%, 0%, 71.4%, 75.3%)
CIE-LABlab(23.53, -20.10, 23.64)
CIE-LCHlch(23.53, 31.03, 130.38°)
OKLaboklab(33.39% -0.0558 0.0548)
OKLCHoklch(33.39% 0.078 135.5)
XYZxyz(2.5798, 3.9559, 1.1998)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F12 #2E123F
analogous
#393F12 #233F12 #123F17
triadic
#233F12 #12233F #3F1223
tetradic
#233F12 #12393F #2E123F #3F1712
square
#233F12 #12393F #2E123F #3F1712
split-complementary
#233F12 #17123F #3F1239
monochromatic
#0D1807 #0D1807 #233F12 #3D6F20 #589E2D

Accessibility & contrast

On white

11.72
#233F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#233F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F12
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F12#FFFFFF#000000##FFFFFF
##233F121.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3E3716
Tritanopia (blue-blind)
#223C36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #233f12;
/* rgb */ color: rgb(35, 63, 18);
/* oklch */ color: oklch(33.4% 0.078 135.5);
Tailwind
colors: {
  custom: {
    50: '#607452',
    500: '#233f12',
    950: '#000000',
  },
}
SCSS
$custom: #233f12;
$custom-light: #607452;
$custom-dark: #000000;
JSON
{
  "hex": "#233f12",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 97.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33394,
    "c": 0.07817,
    "h": 135.5
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#233F12
secondary
#5F3578
accent
#49DFA6
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #233F12

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

Preview Lab → · Contrast checker → · Palette generator →

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