#AFB03A#AFB03A

#AFB03A is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.5% C 0.137 H 109.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#AFB03A
RGBrgb(175, 176, 58)
HSLhsl(61, 50%, 46%)
HSVhsv(61, 67%, 69%)
CMYKcmyk(0.6%, 0%, 67%, 31%)
CIE-LABlab(69.80, -15.01, 57.63)
CIE-LCHlch(69.80, 59.55, 104.60°)
OKLaboklab(73.45% -0.0466 0.1293)
OKLCHoklch(73.45% 0.137 109.8)
XYZxyz(33.9694, 40.4711, 10.0245)
Luminance0.4047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB03A #3B3AB0
analogous
#B0763A #AFB03A #74B03A
triadic
#AFB03A #3AAFB0 #B03AAF
tetradic
#AFB03A #3AB076 #3B3AB0 #B03A74
square
#AFB03A #3AB076 #3B3AB0 #B03A74
split-complementary
#AFB03A #3A74B0 #763AB0
monochromatic
#53541C #81822B #AFB03A #C9CA5D #D8D98B

Accessibility & contrast

On white

2.31
#AFB03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#AFB03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB03A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB03A#FFFFFF#000000##000000
##AFB03A1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA929
Deuteranopia (green-blind)
#BFAC42
Tritanopia (blue-blind)
#BBA598
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb03a;
/* rgb */ color: rgb(175, 176, 58);
/* oklch */ color: oklch(73.5% 0.137 109.8);
Tailwind
colors: {
  custom: {
    50: '#cac777',
    500: '#afb03a',
    950: '#000000',
  },
}
SCSS
$custom: #afb03a;
$custom-light: #cac777;
$custom-dark: #000000;
JSON
{
  "hex": "#afb03a",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 58
  },
  "hsl": {
    "h": 60.508,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73452,
    "c": 0.13748,
    "h": 109.8
  },
  "luminance": 0.4047
}

Semantic roles & 50–950 ramp

primary
#AFB03A
secondary
#8382C3
accent
#4EDA4F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB03A

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

Preview Lab → · Contrast checker → · Palette generator →

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