#7B6925#7B6925

#7B6925 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.4% C 0.089 H 94.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7B6925
RGBrgb(123, 105, 37)
HSLhsl(47, 54%, 31%)
HSVhsv(47, 70%, 48%)
CMYKcmyk(0%, 14.6%, 69.9%, 51.8%)
CIE-LABlab(44.87, -1.14, 39.45)
CIE-LCHlch(44.87, 39.46, 91.66°)
OKLaboklab(52.44% -0.0065 0.089)
OKLCHoklch(52.44% 0.089 94.2)
XYZxyz(13.5545, 14.4484, 3.8248)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6925 #25377B
analogous
#7B3E25 #7B6925 #627B25
triadic
#7B6925 #257B69 #69257B
tetradic
#7B6925 #257B3E #25377B #7B2562
square
#7B6925 #257B3E #25377B #7B2562
split-complementary
#7B6925 #25627B #3E257B
monochromatic
#1D1909 #4C4117 #7B6925 #AA9133 #CAB150

Accessibility & contrast

On white

5.40
#7B6925 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7B6925 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6925
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6925#FFFFFF#000000##FFFFFF
##7B69251.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671C
Deuteranopia (green-blind)
#796C28
Tritanopia (blue-blind)
#85615B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b6925;
/* rgb */ color: rgb(123, 105, 37);
/* oklch */ color: oklch(52.4% 0.089 94.2);
Tailwind
colors: {
  custom: {
    50: '#a49363',
    500: '#7b6925',
    950: '#000000',
  },
}
SCSS
$custom: #7b6925;
$custom-light: #a49363;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6925",
  "rgb": {
    "r": 123,
    "g": 105,
    "b": 37
  },
  "hsl": {
    "h": 47.442,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.08923,
    "h": 94.2
  },
  "luminance": 0.14448
}

Semantic roles & 50–950 ramp

primary
#7B6925
secondary
#4F62AD
accent
#69DD4B
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7B6925

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

Preview Lab → · Contrast checker → · Palette generator →

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