#7F7225#7F7225

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

Color values

HEX#7F7225
RGBrgb(127, 114, 37)
HSLhsl(51, 55%, 32%)
HSVhsv(51, 71%, 50%)
CMYKcmyk(0%, 10.2%, 70.9%, 50.2%)
CIE-LABlab(47.86, -4.41, 42.66)
CIE-LCHlch(47.86, 42.89, 95.91°)
OKLaboklab(54.9% -0.0161 0.0956)
OKLCHoklch(54.9% 0.097 99.6)
XYZxyz(15.1043, 16.6809, 4.1740)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7225 #25327F
analogous
#7F4525 #7F7225 #5F7F25
triadic
#7F7225 #257F72 #72257F
tetradic
#7F7225 #257F45 #25327F #7F255F
square
#7F7225 #257F45 #25327F #7F255F
split-complementary
#7F7225 #255F7F #45257F
monochromatic
#201D09 #504717 #7F7225 #AE9D33 #CDBB52

Accessibility & contrast

On white

4.84
#7F7225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7F7225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7225
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7225#FFFFFF#000000##FFFFFF
##7F72251.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1A
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#896A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f7225;
/* rgb */ color: rgb(127, 114, 37);
/* oklch */ color: oklch(54.9% 0.097 99.6);
Tailwind
colors: {
  custom: {
    50: '#a79a64',
    500: '#7f7225',
    950: '#000000',
  },
}
SCSS
$custom: #7f7225;
$custom-light: #a79a64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7225",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 37
  },
  "hsl": {
    "h": 51.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54898,
    "c": 0.09699,
    "h": 99.6
  },
  "luminance": 0.1668
}

Semantic roles & 50–950 ramp

primary
#7F7225
secondary
#4F5DB1
accent
#5FDE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F7225

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

Preview Lab → · Contrast checker → · Palette generator →

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