#0F2502#0F2502

#0F2502 is a very dark, moderate yellow-green. Relative luminance 0.014; OKLCH L 23.7% C 0.066 H 135.5°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#0F2502
RGBrgb(15, 37, 2)
HSLhsl(98, 90%, 8%)
HSVhsv(98, 95%, 15%)
CMYKcmyk(59.5%, 0%, 94.6%, 85.5%)
CIE-LABlab(12.15, -16.76, 16.84)
CIE-LCHlch(12.15, 23.76, 134.87°)
OKLaboklab(23.71% -0.0469 0.046)
OKLCHoklch(23.71% 0.066 135.5)
XYZxyz(0.8695, 1.4290, 0.2874)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2502 #180225
analogous
#202502 #0F2502 #022506
triadic
#0F2502 #020F25 #25020F
tetradic
#0F2502 #022025 #180225 #250602
square
#0F2502 #022025 #180225 #250602
split-complementary
#0F2502 #060225 #250220
monochromatic
#0C1D02 #0C1D02 #0F2502 #275F05 #3E9908

Accessibility & contrast

On white

16.33
#0F2502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F2502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2502
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2502#FFFFFF#000000##FFFFFF
##0F25021.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#241F04
Tritanopia (blue-blind)
#0E231E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f2502;
/* rgb */ color: rgb(15, 37, 2);
/* oklch */ color: oklch(23.7% 0.066 135.5);
Tailwind
colors: {
  custom: {
    50: '#4e6047',
    500: '#0f2502',
    950: '#000000',
  },
}
SCSS
$custom: #0f2502;
$custom-light: #4e6047;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2502",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 97.714,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.2371,
    "c": 0.06568,
    "h": 135.5
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#0F2502
secondary
#4C186A
accent
#29FFAF
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #0F2502

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

Preview Lab → · Contrast checker → · Palette generator →

#0F2502 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva