#AF992E#AF992E

#AF992E is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.3% C 0.125 H 97.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#AF992E
RGBrgb(175, 153, 46)
HSLhsl(50, 58%, 43%)
HSVhsv(50, 74%, 69%)
CMYKcmyk(0%, 12.6%, 73.7%, 31.4%)
CIE-LABlab(63.42, -3.55, 55.98)
CIE-LCHlch(63.42, 56.09, 93.63°)
OKLaboklab(68.35% -0.0155 0.1237)
OKLCHoklch(68.35% 0.125 97.2)
XYZxyz(29.5651, 32.0952, 7.2220)
Luminance0.3209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF992E #2E44AF
analogous
#AF582E #AF992E #84AF2E
triadic
#AF992E #2EAF99 #992EAF
tetradic
#AF992E #2EAF58 #2E44AF #AF2E84
square
#AF992E #2EAF58 #2E44AF #AF2E84
split-complementary
#AF992E #2E84AF #582EAF
monochromatic
#4E4415 #7F6F21 #AF992E #D0B94B #DCCC7B

Accessibility & contrast

On white

2.83
#AF992E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#AF992E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF992E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF992E#FFFFFF#000000##000000
##AF992E1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9951C
Deuteranopia (green-blind)
#AE9D35
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af992e;
/* rgb */ color: rgb(175, 153, 46);
/* oklch */ color: oklch(68.3% 0.125 97.2);
Tailwind
colors: {
  custom: {
    50: '#cbb66e',
    500: '#af992e',
    950: '#000000',
  },
}
SCSS
$custom: #af992e;
$custom-light: #cbb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#af992e",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 46
  },
  "hsl": {
    "h": 49.767,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68349,
    "c": 0.12467,
    "h": 97.2
  },
  "luminance": 0.32094
}

Semantic roles & 50–950 ramp

primary
#AF992E
secondary
#7482C5
accent
#61E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AF992E

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

Preview Lab → · Contrast checker → · Palette generator →

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