#A07F18#A07F18

#A07F18 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.1% C 0.118 H 89.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A07F18
RGBrgb(160, 127, 24)
HSLhsl(45, 74%, 36%)
HSVhsv(45, 85%, 63%)
CMYKcmyk(0%, 20.6%, 85%, 37.3%)
CIE-LABlab(54.78, 3.07, 55.13)
CIE-LCHlch(54.78, 55.21, 86.81°)
OKLaboklab(61.14% 0.002 0.118)
OKLCHoklch(61.14% 0.118 89.1)
XYZxyz(22.2529, 22.7198, 4.0773)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07F18 #1839A0
analogous
#A03B18 #A07F18 #7DA018
triadic
#A07F18 #18A07F #7F18A0
tetradic
#A07F18 #18A03B #1839A0 #A0187D
square
#A07F18 #18A03B #1839A0 #A0187D
split-complementary
#A07F18 #187DA0 #3B18A0
monochromatic
#362B08 #6B5510 #A07F18 #D5A920 #E4C04E

Accessibility & contrast

On white

3.79
#A07F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A07F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A07F18
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A07F18#FFFFFF#000000##000000
##A07F181.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#97871F
Tritanopia (blue-blind)
#AE736C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a07f18;
/* rgb */ color: rgb(160, 127, 24);
/* oklch */ color: oklch(61.1% 0.118 89.1);
Tailwind
colors: {
  custom: {
    50: '#c1a360',
    500: '#a07f18',
    950: '#000000',
  },
}
SCSS
$custom: #a07f18;
$custom-light: #c1a360;
$custom-dark: #000000;
JSON
{
  "hex": "#a07f18",
  "rgb": {
    "r": 160,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 45.441,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61136,
    "c": 0.118,
    "h": 89.1
  },
  "luminance": 0.22718
}

Semantic roles & 50–950 ramp

primary
#A07F18
secondary
#4D6BC6
accent
#64F137
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A07F18

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

Preview Lab → · Contrast checker → · Palette generator →

#A07F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva