#7A641F#7A641F

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

Color values

HEX#7A641F
RGBrgb(122, 100, 31)
HSLhsl(45, 59%, 30%)
HSVhsv(45, 75%, 48%)
CMYKcmyk(0%, 18%, 74.6%, 52.2%)
CIE-LABlab(43.29, 0.94, 40.52)
CIE-LCHlch(43.29, 40.53, 88.67°)
OKLaboklab(51.15% -0.0012 0.0901)
OKLCHoklch(51.15% 0.09 90.8)
XYZxyz(12.8312, 13.3516, 3.1973)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A641F #1F357A
analogous
#7A371F #7A641F #627A1F
triadic
#7A641F #1F7A64 #641F7A
tetradic
#7A641F #1F7A37 #1F357A #7A1F62
square
#7A641F #1F7A37 #1F357A #7A1F62
split-complementary
#7A641F #1F627A #371F7A
monochromatic
#181406 #493C13 #7A641F #AB8C2B #CFAE44

Accessibility & contrast

On white

5.72
#7A641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7A641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A641F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A641F#FFFFFF#000000##FFFFFF
##7A641F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a641f;
/* rgb */ color: rgb(122, 100, 31);
/* oklch */ color: oklch(51.1% 0.090 90.8);
Tailwind
colors: {
  custom: {
    50: '#a48f5f',
    500: '#7a641f',
    950: '#000000',
  },
}
SCSS
$custom: #7a641f;
$custom-light: #a48f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a641f",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 45.495,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.09016,
    "h": 90.8
  },
  "luminance": 0.13351
}

Semantic roles & 50–950 ramp

primary
#7A641F
secondary
#4760AD
accent
#6BE345
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7A641F

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

Preview Lab → · Contrast checker → · Palette generator →

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