#268312#268312

#268312 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.166 H 140.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#268312
RGBrgb(38, 131, 18)
HSLhsl(109, 76%, 29%)
HSVhsv(109, 86%, 51%)
CMYKcmyk(71%, 0%, 86.3%, 48.6%)
CIE-LABlab(47.86, -47.17, 47.64)
CIE-LCHlch(47.86, 67.05, 134.72°)
OKLaboklab(53.51% -0.1291 0.105)
OKLCHoklch(53.51% 0.166 140.9)
XYZxyz(9.0243, 16.6874, 3.3175)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268312 #6F1283
analogous
#5F8312 #268312 #128337
triadic
#268312 #122683 #831226
tetradic
#268312 #125F83 #6F1283 #833712
square
#268312 #125F83 #6F1283 #833712
split-complementary
#268312 #371283 #83125F
monochromatic
#081B04 #164D0B #268312 #36B919 #4DE22D

Accessibility & contrast

On white

4.84
#268312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#268312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268312
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268312#FFFFFF#000000##FFFFFF
##2683121.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#127F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #268312;
/* rgb */ color: rgb(38, 131, 18);
/* oklch */ color: oklch(53.5% 0.166 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a85c',
    500: '#268312',
    950: '#000000',
  },
}
SCSS
$custom: #268312;
$custom-light: #70a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#268312",
  "rgb": {
    "r": 38,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 109.381,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53512,
    "c": 0.16638,
    "h": 140.9
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

primary
#268312
secondary
#A238B8
accent
#35F2D1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #268312

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

Preview Lab → · Contrast checker → · Palette generator →

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