#7F7423#7F7423

#7F7423 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.100 H 101.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7F7423
RGBrgb(127, 116, 35)
HSLhsl(53, 57%, 32%)
HSVhsv(53, 72%, 50%)
CMYKcmyk(0%, 8.7%, 72.4%, 50.2%)
CIE-LABlab(48.42, -5.66, 44.09)
CIE-LCHlch(48.42, 44.45, 97.31°)
OKLaboklab(55.34% -0.0199 0.0983)
OKLCHoklch(55.34% 0.1 101.4)
XYZxyz(15.3018, 17.1248, 4.0892)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7423 #232E7F
analogous
#7F4623 #7F7423 #5C7F23
triadic
#7F7423 #237F74 #74237F
tetradic
#7F7423 #237F46 #232E7F #7F235C
square
#7F7423 #237F46 #232E7F #7F235C
split-complementary
#7F7423 #235C7F #46237F
monochromatic
#1F1C09 #4F4816 #7F7423 #AFA030 #CEBF4E

Accessibility & contrast

On white

4.75
#7F7423 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7F7423 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7423
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7423#FFFFFF#000000##FFFFFF
##7F74231.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7017
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#896B64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f7423;
/* rgb */ color: rgb(127, 116, 35);
/* oklch */ color: oklch(55.3% 0.100 101.4);
Tailwind
colors: {
  custom: {
    50: '#a79b63',
    500: '#7f7423',
    950: '#000000',
  },
}
SCSS
$custom: #7f7423;
$custom-light: #a79b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7423",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 35
  },
  "hsl": {
    "h": 52.826,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55339,
    "c": 0.10028,
    "h": 101.4
  },
  "luminance": 0.17124
}

Semantic roles & 50–950 ramp

primary
#7F7423
secondary
#4C59B1
accent
#5AE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F7423

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

Preview Lab → · Contrast checker → · Palette generator →

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