#264F0C#264F0C

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

Color values

HEX#264F0C
RGBrgb(38, 79, 12)
HSLhsl(97, 74%, 18%)
HSVhsv(97, 85%, 31%)
CMYKcmyk(51.9%, 0%, 84.8%, 69%)
CIE-LABlab(29.49, -27.20, 32.50)
CIE-LCHlch(29.49, 42.38, 129.93°)
OKLaboklab(38.31% -0.0757 0.0723)
OKLCHoklch(38.31% 0.105 136.3)
XYZxyz(3.6616, 6.0303, 1.3188)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264F0C #350C4F
analogous
#474F0C #264F0C #0C4F13
triadic
#264F0C #0C264F #4F0C26
tetradic
#264F0C #0C474F #350C4F #4F130C
square
#264F0C #0C474F #350C4F #4F130C
split-complementary
#264F0C #130C4F #4F0C47
monochromatic
#0D1B04 #0D1B04 #264F0C #408414 #59B91C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##264F0C#FFFFFF#000000##FFFFFF
##264F0C1.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: #264f0c;
/* rgb */ color: rgb(38, 79, 12);
/* oklch */ color: oklch(38.3% 0.105 136.3);
Tailwind
colors: {
  custom: {
    50: '#658151',
    500: '#264f0c',
    950: '#000000',
  },
}
SCSS
$custom: #264f0c;
$custom-light: #658151;
$custom-dark: #000000;
JSON
{
  "hex": "#264f0c",
  "rgb": {
    "r": 38,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 96.716,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3831,
    "c": 0.10474,
    "h": 136.3
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#264F0C
secondary
#662C8B
accent
#38F0A9
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #264F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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