#AF982E#AF982E

#AF982E is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.1% C 0.124 H 96.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#AF982E
RGBrgb(175, 152, 46)
HSLhsl(49, 58%, 43%)
HSVhsv(49, 74%, 69%)
CMYKcmyk(0%, 13.1%, 73.7%, 31.4%)
CIE-LABlab(63.15, -3.02, 55.71)
CIE-LCHlch(63.15, 55.80, 93.10°)
OKLaboklab(68.14% -0.014 0.1232)
OKLCHoklch(68.14% 0.124 96.5)
XYZxyz(29.4021, 31.7692, 7.1676)
Luminance0.3177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF982E #2E45AF
analogous
#AF572E #AF982E #85AF2E
triadic
#AF982E #2EAF98 #982EAF
tetradic
#AF982E #2EAF57 #2E45AF #AF2E85
square
#AF982E #2EAF57 #2E45AF #AF2E85
split-complementary
#AF982E #2E85AF #572EAF
monochromatic
#4E4415 #7F6E21 #AF982E #D0B84B #DCCB7B

Accessibility & contrast

On white

2.86
#AF982E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#AF982E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF982E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF982E#FFFFFF#000000##000000
##AF982E1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951D
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#BD8C83
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af982e;
/* rgb */ color: rgb(175, 152, 46);
/* oklch */ color: oklch(68.1% 0.124 96.5);
Tailwind
colors: {
  custom: {
    50: '#cbb66e',
    500: '#af982e',
    950: '#000000',
  },
}
SCSS
$custom: #af982e;
$custom-light: #cbb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#af982e",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 49.302,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68136,
    "c": 0.12394,
    "h": 96.5
  },
  "luminance": 0.31768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF982E

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

Preview Lab → · Contrast checker → · Palette generator →

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