#7F7323#7F7323

#7F7323 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.1% C 0.099 H 100.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7F7323
RGBrgb(127, 115, 35)
HSLhsl(52, 57%, 32%)
HSVhsv(52, 72%, 50%)
CMYKcmyk(0%, 9.4%, 72.4%, 50.2%)
CIE-LABlab(48.13, -5.09, 43.80)
CIE-LCHlch(48.13, 44.09, 96.63°)
OKLaboklab(55.11% -0.0183 0.0977)
OKLCHoklch(55.11% 0.099 100.6)
XYZxyz(15.1872, 16.8955, 4.0510)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7323 #232F7F
analogous
#7F4523 #7F7323 #5D7F23
triadic
#7F7323 #237F73 #73237F
tetradic
#7F7323 #237F45 #232F7F #7F235D
square
#7F7323 #237F45 #232F7F #7F235D
split-complementary
#7F7323 #235D7F #45237F
monochromatic
#1F1C09 #4F4816 #7F7323 #AF9E30 #CEBE4E

Accessibility & contrast

On white

4.80
#7F7323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7F7323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7323
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7323#FFFFFF#000000##FFFFFF
##7F73231.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7017
Deuteranopia (green-blind)
#827428
Tritanopia (blue-blind)
#896A63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f7323;
/* rgb */ color: rgb(127, 115, 35);
/* oklch */ color: oklch(55.1% 0.099 100.6);
Tailwind
colors: {
  custom: {
    50: '#a79b63',
    500: '#7f7323',
    950: '#000000',
  },
}
SCSS
$custom: #7f7323;
$custom-light: #a79b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7323",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 35
  },
  "hsl": {
    "h": 52.174,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.09937,
    "h": 100.6
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#7F7323
secondary
#4C5AB1
accent
#5CE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7F7323

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

Preview Lab → · Contrast checker → · Palette generator →

#7F7323 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva