#7B641F#7B641F

#7B641F is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.3% C 0.090 H 89.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7B641F
RGBrgb(123, 100, 31)
HSLhsl(45, 60%, 30%)
HSVhsv(45, 75%, 48%)
CMYKcmyk(0%, 18.7%, 74.8%, 51.8%)
CIE-LABlab(43.40, 1.42, 40.66)
CIE-LCHlch(43.40, 40.69, 88.00°)
OKLaboklab(51.26% 0.0001 0.0904)
OKLCHoklch(51.26% 0.09 89.9)
XYZxyz(12.9736, 13.4250, 3.2040)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B641F #1F367B
analogous
#7B361F #7B641F #647B1F
triadic
#7B641F #1F7B64 #641F7B
tetradic
#7B641F #1F7B36 #1F367B #7B1F64
square
#7B641F #1F7B36 #1F367B #7B1F64
split-complementary
#7B641F #1F647B #361F7B
monochromatic
#191506 #4A3C13 #7B641F #AC8C2B #D0AD44

Accessibility & contrast

On white

5.70
#7B641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7B641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B641F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B641F#FFFFFF#000000##FFFFFF
##7B641F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706315
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#855B56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b641f;
/* rgb */ color: rgb(123, 100, 31);
/* oklch */ color: oklch(51.3% 0.090 89.9);
Tailwind
colors: {
  custom: {
    50: '#a58f5f',
    500: '#7b641f',
    950: '#000000',
  },
}
SCSS
$custom: #7b641f;
$custom-light: #a58f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b641f",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 45,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51261,
    "c": 0.09041,
    "h": 89.9
  },
  "luminance": 0.13424
}

Semantic roles & 50–950 ramp

primary
#7B641F
secondary
#4861AE
accent
#6CE345
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7B641F

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

Preview Lab → · Contrast checker → · Palette generator →

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