#7F7223#7F7223

#7F7223 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.098 H 99.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7F7223
RGBrgb(127, 114, 35)
HSLhsl(52, 57%, 32%)
HSVhsv(52, 72%, 50%)
CMYKcmyk(0%, 10.2%, 72.4%, 50.2%)
CIE-LABlab(47.84, -4.53, 43.51)
CIE-LCHlch(47.84, 43.74, 95.94°)
OKLaboklab(54.88% -0.0167 0.0971)
OKLCHoklch(54.88% 0.098 99.7)
XYZxyz(15.0738, 16.6687, 4.0132)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7223 #23307F
analogous
#7F4423 #7F7223 #5E7F23
triadic
#7F7223 #237F72 #72237F
tetradic
#7F7223 #237F44 #23307F #7F235E
square
#7F7223 #237F44 #23307F #7F235E
split-complementary
#7F7223 #235E7F #44237F
monochromatic
#1F1C09 #4F4716 #7F7223 #AF9D30 #CEBC4E

Accessibility & contrast

On white

4.85
#7F7223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7F7223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7223
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7223#FFFFFF#000000##FFFFFF
##7F72231.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F17
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#896962
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f7223;
/* rgb */ color: rgb(127, 114, 35);
/* oklch */ color: oklch(54.9% 0.098 99.7);
Tailwind
colors: {
  custom: {
    50: '#a79a63',
    500: '#7f7223',
    950: '#000000',
  },
}
SCSS
$custom: #7f7223;
$custom-light: #a79a63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7223",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 51.522,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.09849,
    "h": 99.7
  },
  "luminance": 0.16668
}

Semantic roles & 50–950 ramp

primary
#7F7223
secondary
#4C5BB1
accent
#5DE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7F7223

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

Preview Lab → · Contrast checker → · Palette generator →

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