#AFB33D#AFB33D

#AFB33D 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#AFB33D
RGBrgb(175, 179, 61)
HSLhsl(62, 49%, 47%)
HSVhsv(62, 66%, 70%)
CMYKcmyk(2.2%, 0%, 65.9%, 29.8%)
CIE-LABlab(70.66, -16.37, 57.30)
CIE-LCHlch(70.66, 59.59, 105.94°)
OKLaboklab(74.14% -0.0501 0.1291)
OKLCHoklch(74.14% 0.139 111.2)
XYZxyz(34.6426, 41.6919, 10.6364)
Luminance0.4169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB33D #413DB3
analogous
#B37C3D #AFB33D #74B33D
triadic
#AFB33D #3DAFB3 #B33DAF
tetradic
#AFB33D #3DB37C #413DB3 #B33D74
square
#AFB33D #3DB37C #413DB3 #B33D74
split-complementary
#AFB33D #3D74B3 #7C3DB3
monochromatic
#56581E #82852D #AFB33D #C6CA63 #D7D991

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB33D#FFFFFF#000000##000000
##AFB33D1.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)
#C1AB2D
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#BBA89B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb33d;
/* rgb */ color: rgb(175, 179, 61);
/* oklch */ color: oklch(74.1% 0.139 111.2);
Tailwind
colors: {
  custom: {
    50: '#cac979',
    500: '#afb33d',
    950: '#000000',
  },
}
SCSS
$custom: #afb33d;
$custom-light: #cac979;
$custom-dark: #000000;
JSON
{
  "hex": "#afb33d",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 61
  },
  "hsl": {
    "h": 62.034,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74142,
    "c": 0.13851,
    "h": 111.2
  },
  "luminance": 0.41691
}

Semantic roles & 50–950 ramp

primary
#AFB33D
secondary
#8987C5
accent
#4FD954
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB33D

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

Preview Lab → · Contrast checker → · Palette generator →

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