#264F0B#264F0B

#264F0B is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.105 H 136.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#264F0B
RGBrgb(38, 79, 11)
HSLhsl(96, 76%, 18%)
HSVhsv(96, 86%, 31%)
CMYKcmyk(51.9%, 0%, 86.1%, 69%)
CIE-LABlab(29.48, -27.27, 32.86)
CIE-LCHlch(29.48, 42.70, 129.69°)
OKLaboklab(38.3% -0.076 0.0729)
OKLCHoklch(38.3% 0.105 136.2)
XYZxyz(3.6556, 6.0280, 1.2874)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264F0B #340B4F
analogous
#484F0B #264F0B #0B4F12
triadic
#264F0B #0B264F #4F0B26
tetradic
#264F0B #0B484F #340B4F #4F120B
square
#264F0B #0B484F #340B4F #4F120B
split-complementary
#264F0B #120B4F #4F0B48
monochromatic
#0D1B04 #0D1B04 #264F0B #408512 #5ABA1A

Accessibility & contrast

On white

9.52
#264F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#264F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264F0B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264F0B#FFFFFF#000000##FFFFFF
##264F0B1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524800
Deuteranopia (green-blind)
#4D4413
Tritanopia (blue-blind)
#244C42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #264f0b;
/* rgb */ color: rgb(38, 79, 11);
/* oklch */ color: oklch(38.3% 0.105 136.2);
Tailwind
colors: {
  custom: {
    50: '#658150',
    500: '#264f0b',
    950: '#000000',
  },
}
SCSS
$custom: #264f0b;
$custom-light: #658150;
$custom-dark: #000000;
JSON
{
  "hex": "#264f0b",
  "rgb": {
    "r": 38,
    "g": 79,
    "b": 11
  },
  "hsl": {
    "h": 96.176,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38303,
    "c": 0.10532,
    "h": 136.2
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#264F0B
secondary
#652B8B
accent
#36F2A7
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #264F0B

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

Preview Lab → · Contrast checker → · Palette generator →

#264F0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva