#A68D1F#A68D1F

#A68D1F is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.8% C 0.124 H 95.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A68D1F
RGBrgb(166, 141, 31)
HSLhsl(49, 69%, 39%)
HSVhsv(49, 81%, 65%)
CMYKcmyk(0%, 15.1%, 81.3%, 34.9%)
CIE-LABlab(59.21, -1.71, 57.05)
CIE-LCHlch(59.21, 57.07, 91.72°)
OKLaboklab(64.79% -0.0113 0.1233)
OKLCHoklch(64.79% 0.124 95.2)
XYZxyz(25.4995, 27.2571, 5.2141)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68D1F #1F38A6
analogous
#A6491F #A68D1F #7BA61F
triadic
#A68D1F #1FA68D #8D1FA6
tetradic
#A68D1F #1FA649 #1F38A6 #A61F7B
square
#A68D1F #1FA649 #1F38A6 #A61F7B
split-complementary
#A68D1F #1F7BA6 #491FA6
monochromatic
#3F350C #726115 #A68D1F #D7B72B #E1C95E

Accessibility & contrast

On white

3.26
#A68D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A68D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A68D1F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68D1F#FFFFFF#000000##000000
##A68D1F1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A39227
Tritanopia (blue-blind)
#B48179
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a68d1f;
/* rgb */ color: rgb(166, 141, 31);
/* oklch */ color: oklch(64.8% 0.124 95.2);
Tailwind
colors: {
  custom: {
    50: '#c5ad65',
    500: '#a68d1f',
    950: '#000000',
  },
}
SCSS
$custom: #a68d1f;
$custom-light: #c5ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#a68d1f",
  "rgb": {
    "r": 166,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 48.889,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64785,
    "c": 0.12386,
    "h": 95.2
  },
  "luminance": 0.27256
}

Semantic roles & 50–950 ramp

primary
#A68D1F
secondary
#5B6FC5
accent
#5DEB3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A68D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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