#AFB33E#AFB33E

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

Color values

HEX#AFB33E
RGBrgb(175, 179, 62)
HSLhsl(62, 49%, 47%)
HSVhsv(62, 65%, 70%)
CMYKcmyk(2.2%, 0%, 65.4%, 29.8%)
CIE-LABlab(70.67, -16.31, 56.90)
CIE-LCHlch(70.67, 59.19, 105.99°)
OKLaboklab(74.15% -0.0498 0.1284)
OKLCHoklch(74.15% 0.138 111.2)
XYZxyz(34.6698, 41.7028, 10.7796)
Luminance0.4170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB33E #423EB3
analogous
#B37C3E #AFB33E #75B33E
triadic
#AFB33E #3EAFB3 #B33EAF
tetradic
#AFB33E #3EB37C #423EB3 #B33E75
square
#AFB33E #3EB37C #423EB3 #B33E75
split-complementary
#AFB33E #3E75B3 #7C3EB3
monochromatic
#56581F #83862E #AFB33E #C6CA65 #D7D992

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB33E#FFFFFF#000000##000000
##AFB33E1.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)
#C0AB2E
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#BBA89B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb33e;
/* rgb */ color: rgb(175, 179, 62);
/* oklch */ color: oklch(74.2% 0.138 111.2);
Tailwind
colors: {
  custom: {
    50: '#cac979',
    500: '#afb33e',
    950: '#000000',
  },
}
SCSS
$custom: #afb33e;
$custom-light: #cac979;
$custom-dark: #000000;
JSON
{
  "hex": "#afb33e",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 62
  },
  "hsl": {
    "h": 62.051,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7415,
    "c": 0.13777,
    "h": 111.2
  },
  "luminance": 0.41702
}

Semantic roles & 50–950 ramp

primary
#AFB33E
secondary
#8A88C5
accent
#50D854
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB33E

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

Preview Lab → · Contrast checker → · Palette generator →

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