#8F7923#8F7923

#8F7923 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.1% C 0.105 H 94.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F7923
RGBrgb(143, 121, 35)
HSLhsl(48, 61%, 35%)
HSVhsv(48, 76%, 56%)
CMYKcmyk(0%, 15.4%, 75.5%, 43.9%)
CIE-LABlab(51.42, -1.01, 47.58)
CIE-LCHlch(51.42, 47.59, 91.22°)
OKLaboklab(58.1% -0.0076 0.105)
OKLCHoklch(58.1% 0.105 94.2)
XYZxyz(18.4694, 19.6368, 4.4072)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7923 #23398F
analogous
#8F4323 #8F7923 #6F8F23
triadic
#8F7923 #238F79 #79238F
tetradic
#8F7923 #238F43 #23398F #8F236F
square
#8F7923 #238F43 #23398F #8F236F
split-complementary
#8F7923 #236F8F #43238F
monochromatic
#2D260B #5E4F17 #8F7923 #C0A32F #D6BC57

Accessibility & contrast

On white

4.26
#8F7923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8F7923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7923
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7923#FFFFFF#000000##000000
##8F79231.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867715
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#9B6F68
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f7923;
/* rgb */ color: rgb(143, 121, 35);
/* oklch */ color: oklch(58.1% 0.105 94.2);
Tailwind
colors: {
  custom: {
    50: '#b39f64',
    500: '#8f7923',
    950: '#000000',
  },
}
SCSS
$custom: #8f7923;
$custom-light: #b39f64;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7923",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 47.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58095,
    "c": 0.10531,
    "h": 94.2
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

primary
#8F7923
secondary
#5469BA
accent
#65E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7923

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

Preview Lab → · Contrast checker → · Palette generator →

#8F7923 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva