#AF992C#AF992C

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

Color values

HEX#AF992C
RGBrgb(175, 153, 44)
HSLhsl(50, 60%, 43%)
HSVhsv(50, 75%, 69%)
CMYKcmyk(0%, 12.6%, 74.9%, 31.4%)
CIE-LABlab(63.41, -3.65, 56.72)
CIE-LCHlch(63.41, 56.84, 93.68°)
OKLaboklab(68.34% -0.016 0.1249)
OKLCHoklch(68.34% 0.126 97.3)
XYZxyz(29.5266, 32.0798, 7.0192)
Luminance0.3208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF992C #2C42AF
analogous
#AF582C #AF992C #83AF2C
triadic
#AF992C #2CAF99 #992CAF
tetradic
#AF992C #2CAF58 #2C42AF #AF2C83
square
#AF992C #2CAF58 #2C42AF #AF2C83
split-complementary
#AF992C #2C83AF #582CAF
monochromatic
#4D4313 #7E6E20 #AF992C #D1BA47 #DDCC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF992C#FFFFFF#000000##000000
##AF992C1.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)
#A99519
Deuteranopia (green-blind)
#AE9D33
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af992c;
/* rgb */ color: rgb(175, 153, 44);
/* oklch */ color: oklch(68.3% 0.126 97.3);
Tailwind
colors: {
  custom: {
    50: '#cbb66d',
    500: '#af992c',
    950: '#000000',
  },
}
SCSS
$custom: #af992c;
$custom-light: #cbb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#af992c",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 44
  },
  "hsl": {
    "h": 49.924,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.12591,
    "h": 97.3
  },
  "luminance": 0.32078
}

Semantic roles & 50–950 ramp

primary
#AF992C
secondary
#7280C5
accent
#5FE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AF992C

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

Preview Lab → · Contrast checker → · Palette generator →

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