#AFB32D#AFB32D

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

Color values

HEX#AFB32D
RGBrgb(175, 179, 45)
HSLhsl(62, 60%, 44%)
HSVhsv(62, 75%, 70%)
CMYKcmyk(2.2%, 0%, 74.9%, 29.8%)
CIE-LABlab(70.56, -17.20, 63.11)
CIE-LCHlch(70.56, 65.41, 105.24°)
OKLaboklab(74.03% -0.054 0.1386)
OKLCHoklch(74.03% 0.149 111.3)
XYZxyz(34.2741, 41.5445, 8.6955)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB32D #312DB3
analogous
#B3742D #AFB32D #6CB32D
triadic
#AFB32D #2DAFB3 #B32DAF
tetradic
#AFB32D #2DB374 #312DB3 #B32D6C
square
#AFB32D #2DB374 #312DB3 #B32D6C
split-complementary
#AFB32D #2D6CB3 #742DB3
monochromatic
#4F5114 #7F8221 #AFB32D #CED24B #DBDE7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB32D#FFFFFF#000000##000000
##AFB32D1.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)
#C1AB0E
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#BBA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb32d;
/* rgb */ color: rgb(175, 179, 45);
/* oklch */ color: oklch(74.0% 0.149 111.3);
Tailwind
colors: {
  custom: {
    50: '#cac971',
    500: '#afb32d',
    950: '#000000',
  },
}
SCSS
$custom: #afb32d;
$custom-light: #cac971;
$custom-dark: #000000;
JSON
{
  "hex": "#afb32d",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 45
  },
  "hsl": {
    "h": 61.791,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74027,
    "c": 0.14877,
    "h": 111.3
  },
  "luminance": 0.41544
}

Semantic roles & 50–950 ramp

primary
#AFB32D
secondary
#7875C7
accent
#45E34A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFB32D

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

Preview Lab → · Contrast checker → · Palette generator →

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