#AFB03D#AFB03D

#AFB03D is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.5% C 0.135 H 109.8°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#AFB03D
RGBrgb(175, 176, 61)
HSLhsl(61, 49%, 46%)
HSVhsv(61, 65%, 69%)
CMYKcmyk(0.6%, 0%, 65.3%, 31%)
CIE-LABlab(69.83, -14.84, 56.44)
CIE-LCHlch(69.83, 58.36, 104.73°)
OKLaboklab(73.48% -0.0458 0.1273)
OKLCHoklch(73.48% 0.135 109.8)
XYZxyz(34.0479, 40.5025, 10.4382)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB03D #3E3DB0
analogous
#B0783D #AFB03D #76B03D
triadic
#AFB03D #3DAFB0 #B03DAF
tetradic
#AFB03D #3DB078 #3E3DB0 #B03D76
square
#AFB03D #3DB078 #3E3DB0 #B03D76
split-complementary
#AFB03D #3D76B0 #783DB0
monochromatic
#55551D #82832D #AFB03D #C8C862 #D8D88F

Accessibility & contrast

On white

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

On black

9.10
#AFB03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB03D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB03D#FFFFFF#000000##000000
##AFB03D1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92D
Deuteranopia (green-blind)
#BFAC45
Tritanopia (blue-blind)
#BBA599
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb03d;
/* rgb */ color: rgb(175, 176, 61);
/* oklch */ color: oklch(73.5% 0.135 109.8);
Tailwind
colors: {
  custom: {
    50: '#cac779',
    500: '#afb03d',
    950: '#000000',
  },
}
SCSS
$custom: #afb03d;
$custom-light: #cac779;
$custom-dark: #000000;
JSON
{
  "hex": "#afb03d",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 61
  },
  "hsl": {
    "h": 60.522,
    "s": 48.523,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73477,
    "c": 0.1353,
    "h": 109.8
  },
  "luminance": 0.40502
}

Semantic roles & 50–950 ramp

primary
#AFB03D
secondary
#8686C3
accent
#50D851
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB03D

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

Preview Lab → · Contrast checker → · Palette generator →

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