#AFB036#AFB036

#AFB036 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.4% C 0.140 H 109.9°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#AFB036
RGBrgb(175, 176, 54)
HSLhsl(60, 53%, 45%)
HSVhsv(60, 69%, 69%)
CMYKcmyk(0.6%, 0%, 69.3%, 31%)
CIE-LABlab(69.78, -15.24, 59.16)
CIE-LCHlch(69.78, 61.09, 104.44°)
OKLaboklab(73.42% -0.0477 0.1319)
OKLCHoklch(73.42% 0.14 109.9)
XYZxyz(33.8715, 40.4319, 9.5092)
Luminance0.4043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB036 #3736B0
analogous
#B07436 #AFB036 #72B036
triadic
#AFB036 #36AFB0 #B036AF
tetradic
#AFB036 #36B074 #3736B0 #B03672
square
#AFB036 #36B074 #3736B0 #B03672
split-complementary
#AFB036 #3672B0 #7436B0
monochromatic
#525219 #808128 #AFB036 #CBCC58 #D9DA86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB036#FFFFFF#000000##000000
##AFB0361.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)
#BEA822
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#BBA598
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afb036;
/* rgb */ color: rgb(175, 176, 54);
/* oklch */ color: oklch(73.4% 0.140 109.9);
Tailwind
colors: {
  custom: {
    50: '#cac775',
    500: '#afb036',
    950: '#000000',
  },
}
SCSS
$custom: #afb036;
$custom-light: #cac775;
$custom-dark: #000000;
JSON
{
  "hex": "#afb036",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 54
  },
  "hsl": {
    "h": 60.492,
    "s": 53.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73421,
    "c": 0.14023,
    "h": 109.9
  },
  "luminance": 0.40431
}

Semantic roles & 50–950 ramp

primary
#AFB036
secondary
#7F7EC4
accent
#4BDC4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB036

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

Preview Lab → · Contrast checker → · Palette generator →

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