#7A651F#7A651F

#7A651F is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.4% C 0.091 H 91.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7A651F
RGBrgb(122, 101, 31)
HSLhsl(46, 59%, 30%)
HSVhsv(46, 75%, 48%)
CMYKcmyk(0%, 17.2%, 74.6%, 52.2%)
CIE-LABlab(43.57, 0.36, 40.80)
CIE-LCHlch(43.57, 40.80, 89.50°)
OKLaboklab(51.38% -0.0029 0.0908)
OKLCHoklch(51.38% 0.091 91.8)
XYZxyz(12.9277, 13.5446, 3.2295)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A651F #1F347A
analogous
#7A381F #7A651F #617A1F
triadic
#7A651F #1F7A65 #651F7A
tetradic
#7A651F #1F7A38 #1F347A #7A1F61
square
#7A651F #1F7A38 #1F347A #7A1F61
split-complementary
#7A651F #1F617A #381F7A
monochromatic
#181406 #493D13 #7A651F #AB8D2B #CFAF44

Accessibility & contrast

On white

5.66
#7A651F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7A651F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A651F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A651F#FFFFFF#000000##FFFFFF
##7A651F1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716315
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#845C57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a651f;
/* rgb */ color: rgb(122, 101, 31);
/* oklch */ color: oklch(51.4% 0.091 91.8);
Tailwind
colors: {
  custom: {
    50: '#a4905f',
    500: '#7a651f',
    950: '#000000',
  },
}
SCSS
$custom: #7a651f;
$custom-light: #a4905f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a651f",
  "rgb": {
    "r": 122,
    "g": 101,
    "b": 31
  },
  "hsl": {
    "h": 46.154,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.0908,
    "h": 91.8
  },
  "luminance": 0.13544
}

Semantic roles & 50–950 ramp

primary
#7A651F
secondary
#475FAD
accent
#69E345
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7A651F

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

Preview Lab → · Contrast checker → · Palette generator →

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