#AFB33C#AFB33C

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

Color values

HEX#AFB33C
RGBrgb(175, 179, 60)
HSLhsl(62, 50%, 47%)
HSVhsv(62, 66%, 70%)
CMYKcmyk(2.2%, 0%, 66.5%, 29.8%)
CIE-LABlab(70.65, -16.43, 57.69)
CIE-LCHlch(70.65, 59.99, 105.89°)
OKLaboklab(74.13% -0.0504 0.1298)
OKLCHoklch(74.13% 0.139 111.2)
XYZxyz(34.6160, 41.6813, 10.4959)
Luminance0.4168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB33C #403CB3
analogous
#B37C3C #AFB33C #74B33C
triadic
#AFB33C #3CAFB3 #B33CAF
tetradic
#AFB33C #3CB37C #403CB3 #B33C74
square
#AFB33C #3CB37C #403CB3 #B33C74
split-complementary
#AFB33C #3C74B3 #7C3CB3
monochromatic
#55571D #82852D #AFB33C #C7CA62 #D7DA90

Accessibility & contrast

On white

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

On black

9.34
#AFB33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB33C
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB33C#FFFFFF#000000##000000
##AFB33C1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb33c;
/* rgb */ color: rgb(175, 179, 60);
/* oklch */ color: oklch(74.1% 0.139 111.2);
Tailwind
colors: {
  custom: {
    50: '#cac978',
    500: '#afb33c',
    950: '#000000',
  },
}
SCSS
$custom: #afb33c;
$custom-light: #cac978;
$custom-dark: #000000;
JSON
{
  "hex": "#afb33c",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 62.017,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74133,
    "c": 0.13923,
    "h": 111.2
  },
  "luminance": 0.4168
}

Semantic roles & 50–950 ramp

primary
#AFB33C
secondary
#8886C5
accent
#4ED953
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB33C

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

Preview Lab → · Contrast checker → · Palette generator →

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