#AFB32C#AFB32C

#AFB32C 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#AFB32C
RGBrgb(175, 179, 44)
HSLhsl(62, 61%, 44%)
HSVhsv(62, 75%, 70%)
CMYKcmyk(2.2%, 0%, 75.4%, 29.8%)
CIE-LABlab(70.55, -17.24, 63.43)
CIE-LCHlch(70.55, 65.73, 105.21°)
OKLaboklab(74.02% -0.0542 0.1391)
OKLCHoklch(74.02% 0.149 111.3)
XYZxyz(34.2551, 41.5369, 8.5953)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB32C #302CB3
analogous
#B3732C #AFB32C #6BB32C
triadic
#AFB32C #2CAFB3 #B32CAF
tetradic
#AFB32C #2CB373 #302CB3 #B32C6B
square
#AFB32C #2CB373 #302CB3 #B32C6B
split-complementary
#AFB32C #2C6BB3 #732CB3
monochromatic
#4F5114 #7F8220 #AFB32C #CED24A #DCDF7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB32C#FFFFFF#000000##000000
##AFB32C1.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)
#C1AB0A
Deuteranopia (green-blind)
#C2AE37
Tritanopia (blue-blind)
#BBA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb32c;
/* rgb */ color: rgb(175, 179, 44);
/* oklch */ color: oklch(74.0% 0.149 111.3);
Tailwind
colors: {
  custom: {
    50: '#cbc970',
    500: '#afb32c',
    950: '#000000',
  },
}
SCSS
$custom: #afb32c;
$custom-light: #cbc970;
$custom-dark: #000000;
JSON
{
  "hex": "#afb32c",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 44
  },
  "hsl": {
    "h": 61.778,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74021,
    "c": 0.14932,
    "h": 111.3
  },
  "luminance": 0.41536
}

Semantic roles & 50–950 ramp

primary
#AFB32C
secondary
#7674C7
accent
#44E449
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFB32C

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

Preview Lab → · Contrast checker → · Palette generator →

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