#1B623F#1B623F

#1B623F is a dark, moderate teal. Relative luminance 0.093; OKLCH L 44.3% C 0.091 H 157.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#1B623F
RGBrgb(27, 98, 63)
HSLhsl(150, 57%, 25%)
HSVhsv(150, 72%, 38%)
CMYKcmyk(72.4%, 0%, 35.7%, 61.6%)
CIE-LABlab(36.61, -30.85, 13.75)
CIE-LCHlch(36.61, 33.78, 155.97°)
OKLaboklab(44.28% -0.0837 0.0347)
OKLCHoklch(44.28% 0.091 157.5)
XYZxyz(5.7163, 9.3266, 6.2006)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B623F #621B3E
analogous
#1B621C #1B623F #1B6262
triadic
#1B623F #3F1B62 #623F1B
tetradic
#1B623F #1C1B62 #621B3E #62621B
square
#1B623F #1C1B62 #621B3E #62621B
split-complementary
#1B623F #621B62 #621C1B
monochromatic
#07180F #0E3220 #1B623F #28925E #35C27D

Accessibility & contrast

On white

7.33
#1B623F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#1B623F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B623F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B623F#FFFFFF#000000##FFFFFF
##1B623F1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A3D
Deuteranopia (green-blind)
#585341
Tritanopia (blue-blind)
#006159
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1b623f;
/* rgb */ color: rgb(27, 98, 63);
/* oklch */ color: oklch(44.3% 0.091 157.5);
Tailwind
colors: {
  custom: {
    50: '#628f74',
    500: '#1b623f',
    950: '#000000',
  },
}
SCSS
$custom: #1b623f;
$custom-light: #628f74;
$custom-dark: #000000;
JSON
{
  "hex": "#1b623f",
  "rgb": {
    "r": 27,
    "g": 98,
    "b": 63
  },
  "hsl": {
    "h": 150.423,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.44284,
    "c": 0.09065,
    "h": 157.5
  },
  "luminance": 0.09327
}

Semantic roles & 50–950 ramp

primary
#1B623F
secondary
#98416C
accent
#4893E0
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #1B623F

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

Preview Lab → · Contrast checker → · Palette generator →

#1B623F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva