#A68A1F#A68A1F

#A68A1F is a light, vivid yellow. Relative luminance 0.264; OKLCH L 64.1% C 0.122 H 93.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A68A1F
RGBrgb(166, 138, 31)
HSLhsl(48, 69%, 39%)
HSVhsv(48, 81%, 65%)
CMYKcmyk(0%, 16.9%, 81.3%, 34.9%)
CIE-LABlab(58.40, -0.06, 56.33)
CIE-LCHlch(58.40, 56.33, 90.06°)
OKLaboklab(64.14% -0.0066 0.1218)
OKLCHoklch(64.14% 0.122 93.1)
XYZxyz(25.0631, 26.3844, 5.0687)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68A1F #1F3BA6
analogous
#A6471F #A68A1F #7EA61F
triadic
#A68A1F #1FA68A #8A1FA6
tetradic
#A68A1F #1FA647 #1F3BA6 #A61F7E
square
#A68A1F #1FA647 #1F3BA6 #A61F7E
split-complementary
#A68A1F #1F7EA6 #471FA6
monochromatic
#3F340C #725F15 #A68A1F #D7B42B #E1C65E

Accessibility & contrast

On white

3.35
#A68A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A68A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A68A1F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68A1F#FFFFFF#000000##000000
##A68A1F1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8802
Deuteranopia (green-blind)
#A19026
Tritanopia (blue-blind)
#B47E76
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a68a1f;
/* rgb */ color: rgb(166, 138, 31);
/* oklch */ color: oklch(64.1% 0.122 93.1);
Tailwind
colors: {
  custom: {
    50: '#c5ab65',
    500: '#a68a1f',
    950: '#000000',
  },
}
SCSS
$custom: #a68a1f;
$custom-light: #c5ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#a68a1f",
  "rgb": {
    "r": 166,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 47.556,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64144,
    "c": 0.12197,
    "h": 93.1
  },
  "luminance": 0.26383
}

Semantic roles & 50–950 ramp

primary
#A68A1F
secondary
#5B71C5
accent
#61EB3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A68A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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