#264F0F#264F0F

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

Color values

HEX#264F0F
RGBrgb(38, 79, 15)
HSLhsl(98, 68%, 18%)
HSVhsv(98, 81%, 31%)
CMYKcmyk(51.9%, 0%, 81%, 69%)
CIE-LABlab(29.51, -26.99, 31.35)
CIE-LCHlch(29.51, 41.37, 130.72°)
OKLaboklab(38.33% -0.0749 0.0704)
OKLCHoklch(38.33% 0.103 136.8)
XYZxyz(3.6814, 6.0383, 1.4234)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264F0F #380F4F
analogous
#464F0F #264F0F #0F4F18
triadic
#264F0F #0F264F #4F0F26
tetradic
#264F0F #0F464F #380F4F #4F180F
square
#264F0F #0F464F #380F4F #4F180F
split-complementary
#264F0F #180F4F #4F0F46
monochromatic
#0C1A05 #0D1C05 #264F0F #3F8219 #57B623

Accessibility & contrast

On white

9.51
#264F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #264F0F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264F0F#FFFFFF#000000##FFFFFF
##264F0F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524804
Deuteranopia (green-blind)
#4D4415
Tritanopia (blue-blind)
#244C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #264f0f;
/* rgb */ color: rgb(38, 79, 15);
/* oklch */ color: oklch(38.3% 0.103 136.8);
Tailwind
colors: {
  custom: {
    50: '#658152',
    500: '#264f0f',
    950: '#000000',
  },
}
SCSS
$custom: #264f0f;
$custom-light: #658152;
$custom-dark: #000000;
JSON
{
  "hex": "#264f0f",
  "rgb": {
    "r": 38,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 98.438,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38332,
    "c": 0.10285,
    "h": 136.8
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#264F0F
secondary
#693189
accent
#3DEBAC
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #264F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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