#AF942E#AF942E

#AF942E is a light, vivid yellow. Relative luminance 0.305; OKLCH L 67.3% C 0.121 H 93.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#AF942E
RGBrgb(175, 148, 46)
HSLhsl(47, 58%, 43%)
HSVhsv(47, 74%, 69%)
CMYKcmyk(0%, 15.4%, 73.7%, 31.4%)
CIE-LABlab(62.08, -0.85, 54.67)
CIE-LCHlch(62.08, 54.67, 90.89°)
OKLaboklab(67.29% -0.0078 0.1209)
OKLCHoklch(67.29% 0.121 93.7)
XYZxyz(28.7638, 30.4927, 6.9549)
Luminance0.3049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF942E #2E49AF
analogous
#AF532E #AF942E #89AF2E
triadic
#AF942E #2EAF94 #942EAF
tetradic
#AF942E #2EAF53 #2E49AF #AF2E89
square
#AF942E #2EAF53 #2E49AF #AF2E89
split-complementary
#AF942E #2E89AF #532EAF
monochromatic
#4E4215 #7F6B21 #AF942E #D0B44B #DCC87B

Accessibility & contrast

On white

2.96
#AF942E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#AF942E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF942E
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF942E#FFFFFF#000000##000000
##AF942E1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911E
Deuteranopia (green-blind)
#AB9934
Tritanopia (blue-blind)
#BD8880
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af942e;
/* rgb */ color: rgb(175, 148, 46);
/* oklch */ color: oklch(67.3% 0.121 93.7);
Tailwind
colors: {
  custom: {
    50: '#cbb36e',
    500: '#af942e',
    950: '#000000',
  },
}
SCSS
$custom: #af942e;
$custom-light: #cbb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#af942e",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 47.442,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67286,
    "c": 0.12118,
    "h": 93.7
  },
  "luminance": 0.30491
}

Semantic roles & 50–950 ramp

primary
#AF942E
secondary
#7485C5
accent
#67E246
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AF942E

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

Preview Lab → · Contrast checker → · Palette generator →

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