#AFB53C#AFB53C

#AFB53C is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.141 H 112.1°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#AFB53C
RGBrgb(175, 181, 60)
HSLhsl(63, 50%, 47%)
HSVhsv(63, 67%, 71%)
CMYKcmyk(3.3%, 0%, 66.9%, 29%)
CIE-LABlab(71.21, -17.44, 58.26)
CIE-LCHlch(71.21, 60.82, 106.67°)
OKLaboklab(74.58% -0.0532 0.131)
OKLCHoklch(74.58% 0.141 112.1)
XYZxyz(35.0197, 42.4888, 10.6305)
Luminance0.4249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB53C #423CB5
analogous
#B57E3C #AFB53C #73B53C
triadic
#AFB53C #3CAFB5 #B53CAF
tetradic
#AFB53C #3CB57E #423CB5 #B53C73
square
#AFB53C #3CB57E #423CB5 #B53C73
split-complementary
#AFB53C #3C73B5 #7E3CB5
monochromatic
#56591E #83872D #AFB53C #C6CB63 #D7DB91

Accessibility & contrast

On white

2.21
#AFB53C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#AFB53C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB53C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB53C#FFFFFF#000000##000000
##AFB53C1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2A
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#BBAA9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb53c;
/* rgb */ color: rgb(175, 181, 60);
/* oklch */ color: oklch(74.6% 0.141 112.1);
Tailwind
colors: {
  custom: {
    50: '#cacb79',
    500: '#afb53c',
    950: '#000000',
  },
}
SCSS
$custom: #afb53c;
$custom-light: #cacb79;
$custom-dark: #000000;
JSON
{
  "hex": "#afb53c",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 60
  },
  "hsl": {
    "h": 62.975,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74578,
    "c": 0.1414,
    "h": 112.1
  },
  "luminance": 0.42488
}

Semantic roles & 50–950 ramp

primary
#AFB53C
secondary
#8A87C6
accent
#4EDA55
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB53C

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

Preview Lab → · Contrast checker → · Palette generator →

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