#7F7124#7F7124

#7F7124 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.097 H 98.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7F7124
RGBrgb(127, 113, 36)
HSLhsl(51, 56%, 32%)
HSVhsv(51, 72%, 50%)
CMYKcmyk(0%, 11%, 71.7%, 50.2%)
CIE-LABlab(47.56, -3.90, 42.80)
CIE-LCHlch(47.56, 42.97, 95.21°)
OKLaboklab(54.66% -0.0148 0.0958)
OKLCHoklch(54.66% 0.097 98.8)
XYZxyz(14.9767, 16.4504, 4.0551)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7124 #24327F
analogous
#7F4424 #7F7124 #607F24
triadic
#7F7124 #247F71 #71247F
tetradic
#7F7124 #247F44 #24327F #7F2460
square
#7F7124 #247F44 #24327F #7F2460
split-complementary
#7F7124 #24607F #44247F
monochromatic
#201C09 #4F4716 #7F7124 #AF9B32 #CDBA50

Accessibility & contrast

On white

4.90
#7F7124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7F7124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7124
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7124#FFFFFF#000000##FFFFFF
##7F71241.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E19
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#896861
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f7124;
/* rgb */ color: rgb(127, 113, 36);
/* oklch */ color: oklch(54.7% 0.097 98.8);
Tailwind
colors: {
  custom: {
    50: '#a79964',
    500: '#7f7124',
    950: '#000000',
  },
}
SCSS
$custom: #7f7124;
$custom-light: #a79964;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7124",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 50.769,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.09688,
    "h": 98.8
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#7F7124
secondary
#4E5DB1
accent
#60DF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7F7124

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

Preview Lab → · Contrast checker → · Palette generator →

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