#AFB033#AFB033

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

Color values

HEX#AFB033
RGBrgb(175, 176, 51)
HSLhsl(60, 55%, 45%)
HSVhsv(60, 71%, 69%)
CMYKcmyk(0.6%, 0%, 71%, 31%)
CIE-LABlab(69.76, -15.39, 60.26)
CIE-LCHlch(69.76, 62.19, 104.33°)
OKLaboklab(73.4% -0.0484 0.1337)
OKLCHoklch(73.4% 0.142 109.9)
XYZxyz(33.8032, 40.4046, 9.1495)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB033 #3433B0
analogous
#B07333 #AFB033 #71B033
triadic
#AFB033 #33AFB0 #B033AF
tetradic
#AFB033 #33B073 #3433B0 #B03371
square
#AFB033 #33B073 #3433B0 #B03371
split-complementary
#AFB033 #3371B0 #7333B0
monochromatic
#515118 #808125 #AFB033 #CCCD53 #DADB82

Accessibility & contrast

On white

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

On black

9.08
#AFB033 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB033
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB033#FFFFFF#000000##000000
##AFB0331.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81D
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#BBA598
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afb033;
/* rgb */ color: rgb(175, 176, 51);
/* oklch */ color: oklch(73.4% 0.142 109.9);
Tailwind
colors: {
  custom: {
    50: '#cac773',
    500: '#afb033',
    950: '#000000',
  },
}
SCSS
$custom: #afb033;
$custom-light: #cac773;
$custom-dark: #000000;
JSON
{
  "hex": "#afb033",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 51
  },
  "hsl": {
    "h": 60.48,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73399,
    "c": 0.14217,
    "h": 109.9
  },
  "luminance": 0.40404
}

Semantic roles & 50–950 ramp

primary
#AFB033
secondary
#7B7BC4
accent
#49DE4B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB033

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

Preview Lab → · Contrast checker → · Palette generator →

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