#27230B#27230B

#27230B is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.4% C 0.039 H 100.0°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#27230B
RGBrgb(39, 35, 11)
HSLhsl(51, 56%, 10%)
HSVhsv(51, 72%, 15%)
CMYKcmyk(0%, 10.3%, 71.8%, 84.7%)
CIE-LABlab(13.58, -2.12, 15.43)
CIE-LCHlch(13.58, 15.58, 97.82°)
OKLaboklab(25.42% -0.0068 0.0385)
OKLCHoklch(25.42% 0.039 100)
XYZxyz(1.4982, 1.6576, 0.5576)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27230B #0B0F27
analogous
#27150B #27230B #1D270B
triadic
#27230B #0B2723 #230B27
tetradic
#27230B #0B2715 #0B0F27 #270B1D
square
#27230B #0B2715 #0B0F27 #270B1D
split-complementary
#27230B #0B1D27 #150B27
monochromatic
#181507 #181507 #27230B #574E18 #867926

Accessibility & contrast

On white

15.77
#27230B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#27230B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27230B
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27230B#FFFFFF#000000##FFFFFF
##27230B1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272209
Deuteranopia (green-blind)
#28230C
Tritanopia (blue-blind)
#2A201E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #27230b;
/* rgb */ color: rgb(39, 35, 11);
/* oklch */ color: oklch(25.4% 0.039 100.0);
Tailwind
colors: {
  custom: {
    50: '#625d4c',
    500: '#27230b',
    950: '#000000',
  },
}
SCSS
$custom: #27230b;
$custom-light: #625d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#27230b",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 11
  },
  "hsl": {
    "h": 51.429,
    "s": 56,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25425,
    "c": 0.03907,
    "h": 100
  },
  "luminance": 0.01658
}

Semantic roles & 50–950 ramp

primary
#27230B
secondary
#2B3363
accent
#5EDF49
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #27230B

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

Preview Lab → · Contrast checker → · Palette generator →

#27230B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva