#7B7925#7B7925

#7B7925 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.104 H 108.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7B7925
RGBrgb(123, 121, 37)
HSLhsl(59, 54%, 31%)
HSVhsv(59, 70%, 48%)
CMYKcmyk(0%, 1.6%, 69.9%, 51.8%)
CIE-LABlab(49.52, -10.19, 44.23)
CIE-LCHlch(49.52, 45.39, 102.97°)
OKLaboklab(56.13% -0.0322 0.0991)
OKLCHoklch(56.13% 0.104 108)
XYZxyz(15.3402, 18.0198, 4.4200)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7925 #25277B
analogous
#7B4E25 #7B7925 #527B25
triadic
#7B7925 #257B79 #79257B
tetradic
#7B7925 #257B4E #25277B #7B2552
square
#7B7925 #257B4E #25277B #7B2552
split-complementary
#7B7925 #25527B #4E257B
monochromatic
#1D1C09 #4C4B17 #7B7925 #AAA733 #CAC850

Accessibility & contrast

On white

4.56
#7B7925 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7B7925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7925
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7925#FFFFFF#000000##000000
##7B79251.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#837419
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#847168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b7925;
/* rgb */ color: rgb(123, 121, 37);
/* oklch */ color: oklch(56.1% 0.104 108.0);
Tailwind
colors: {
  custom: {
    50: '#a49f65',
    500: '#7b7925',
    950: '#000000',
  },
}
SCSS
$custom: #7b7925;
$custom-light: #a49f65;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7925",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 37
  },
  "hsl": {
    "h": 58.605,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56132,
    "c": 0.10419,
    "h": 108
  },
  "luminance": 0.18019
}

Semantic roles & 50–950 ramp

primary
#7B7925
secondary
#4F51AD
accent
#4EDD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B7925

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

Preview Lab → · Contrast checker → · Palette generator →

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