#AFB33A#AFB33A

#AFB33A is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.1% C 0.141 H 111.2°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#AFB33A
RGBrgb(175, 179, 58)
HSLhsl(62, 51%, 46%)
HSVhsv(62, 68%, 70%)
CMYKcmyk(2.2%, 0%, 67.6%, 29.8%)
CIE-LABlab(70.64, -16.54, 58.47)
CIE-LCHlch(70.64, 60.77, 105.80°)
OKLaboklab(74.12% -0.0509 0.1311)
OKLCHoklch(74.12% 0.141 111.2)
XYZxyz(34.5641, 41.6605, 10.2227)
Luminance0.4166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB33A #3E3AB3
analogous
#B37B3A #AFB33A #73B33A
triadic
#AFB33A #3AAFB3 #B33AAF
tetradic
#AFB33A #3AB37B #3E3AB3 #B33A73
square
#AFB33A #3AB37B #3E3AB3 #B33A73
split-complementary
#AFB33A #3A73B3 #7B3AB3
monochromatic
#55571C #82852B #AFB33A #C8CB5F #D8DA8D

Accessibility & contrast

On white

2.25
#AFB33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#AFB33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB33A
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB33A#FFFFFF#000000##000000
##AFB33A1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB28
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#BBA89B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb33a;
/* rgb */ color: rgb(175, 179, 58);
/* oklch */ color: oklch(74.1% 0.141 111.2);
Tailwind
colors: {
  custom: {
    50: '#cac977',
    500: '#afb33a',
    950: '#000000',
  },
}
SCSS
$custom: #afb33a;
$custom-light: #cac977;
$custom-dark: #000000;
JSON
{
  "hex": "#afb33a",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 61.983,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74117,
    "c": 0.14065,
    "h": 111.2
  },
  "luminance": 0.4166
}

Semantic roles & 50–950 ramp

primary
#AFB33A
secondary
#8684C5
accent
#4DDB52
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB33A

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

Preview Lab → · Contrast checker → · Palette generator →

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