#AF943D#AF943D

#AF943D is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.4% C 0.110 H 91.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#AF943D
RGBrgb(175, 148, 61)
HSLhsl(46, 48%, 46%)
HSVhsv(46, 65%, 69%)
CMYKcmyk(0%, 15.4%, 65.1%, 31.4%)
CIE-LABlab(62.20, -0.01, 48.37)
CIE-LCHlch(62.20, 48.37, 90.01°)
OKLaboklab(67.42% -0.0036 0.1102)
OKLCHoklch(67.42% 0.11 91.9)
XYZxyz(29.1128, 30.6323, 8.7932)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF943D #3D58AF
analogous
#AF5B3D #AF943D #91AF3D
triadic
#AF943D #3DAF94 #943DAF
tetradic
#AF943D #3DAF5B #3D58AF #AF3D91
square
#AF943D #3DAF5B #3D58AF #AF3D91
split-complementary
#AF943D #3D91AF #5B3DAF
monochromatic
#54471D #826E2D #AF943D #C8B061 #D8C68F

Accessibility & contrast

On white

2.95
#AF943D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#AF943D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF943D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF943D#FFFFFF#000000##000000
##AF943D1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39233
Deuteranopia (green-blind)
#AA9A41
Tritanopia (blue-blind)
#BD8981
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af943d;
/* rgb */ color: rgb(175, 148, 61);
/* oklch */ color: oklch(67.4% 0.110 91.9);
Tailwind
colors: {
  custom: {
    50: '#cab376',
    500: '#af943d',
    950: '#000000',
  },
}
SCSS
$custom: #af943d;
$custom-light: #cab376;
$custom-dark: #000000;
JSON
{
  "hex": "#af943d",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 61
  },
  "hsl": {
    "h": 45.789,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67418,
    "c": 0.1103,
    "h": 91.9
  },
  "luminance": 0.30631
}

Semantic roles & 50–950 ramp

primary
#AF943D
secondary
#8594C3
accent
#70D850
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF943D

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

Preview Lab → · Contrast checker → · Palette generator →

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