#AFB32E#AFB32E

#AFB32E is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.0% C 0.148 H 111.3°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#AFB32E
RGBrgb(175, 179, 46)
HSLhsl(62, 59%, 44%)
HSVhsv(62, 74%, 70%)
CMYKcmyk(2.2%, 0%, 74.3%, 29.8%)
CIE-LABlab(70.56, -17.15, 62.78)
CIE-LCHlch(70.56, 65.08, 105.28°)
OKLaboklab(74.03% -0.0538 0.1381)
OKLCHoklch(74.03% 0.148 111.3)
XYZxyz(34.2936, 41.5523, 8.7981)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB32E #322EB3
analogous
#B3752E #AFB32E #6CB32E
triadic
#AFB32E #2EAFB3 #B32EAF
tetradic
#AFB32E #2EB375 #322EB3 #B32E6C
square
#AFB32E #2EB375 #322EB3 #B32E6C
split-complementary
#AFB32E #2E6CB3 #752EB3
monochromatic
#505215 #7F8221 #AFB32E #CDD14D #DBDE7E

Accessibility & contrast

On white

2.26
#AFB32E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#AFB32E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB32E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB32E#FFFFFF#000000##000000
##AFB32E1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB10
Deuteranopia (green-blind)
#C2AE39
Tritanopia (blue-blind)
#BBA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb32e;
/* rgb */ color: rgb(175, 179, 46);
/* oklch */ color: oklch(74.0% 0.148 111.3);
Tailwind
colors: {
  custom: {
    50: '#cac971',
    500: '#afb32e',
    950: '#000000',
  },
}
SCSS
$custom: #afb32e;
$custom-light: #cac971;
$custom-dark: #000000;
JSON
{
  "hex": "#afb32e",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 46
  },
  "hsl": {
    "h": 61.805,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74033,
    "c": 0.14822,
    "h": 111.3
  },
  "luminance": 0.41551
}

Semantic roles & 50–950 ramp

primary
#AFB32E
secondary
#7976C6
accent
#46E24A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFB32E

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

Preview Lab → · Contrast checker → · Palette generator →

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