#AFB03E#AFB03E

#AFB03E 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#AFB03E
RGBrgb(175, 176, 62)
HSLhsl(61, 48%, 47%)
HSVhsv(61, 65%, 69%)
CMYKcmyk(0.6%, 0%, 64.8%, 31%)
CIE-LABlab(69.83, -14.78, 56.04)
CIE-LCHlch(69.83, 57.95, 104.77°)
OKLaboklab(73.49% -0.0455 0.1266)
OKLCHoklch(73.49% 0.135 109.8)
XYZxyz(34.0751, 40.5134, 10.5814)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB03E #3F3EB0
analogous
#B0783E #AFB03E #76B03E
triadic
#AFB03E #3EAFB0 #B03EAF
tetradic
#AFB03E #3EB078 #3F3EB0 #B03E76
square
#AFB03E #3EB078 #3F3EB0 #B03E76
split-complementary
#AFB03E #3E76B0 #783EB0
monochromatic
#55551E #82832E #AFB03E #C7C863 #D7D890

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB03E#FFFFFF#000000##000000
##AFB03E1.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)
#BEA92F
Deuteranopia (green-blind)
#BFAC45
Tritanopia (blue-blind)
#BBA599
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb03e;
/* rgb */ color: rgb(175, 176, 62);
/* oklch */ color: oklch(73.5% 0.135 109.8);
Tailwind
colors: {
  custom: {
    50: '#cac779',
    500: '#afb03e',
    950: '#000000',
  },
}
SCSS
$custom: #afb03e;
$custom-light: #cac779;
$custom-dark: #000000;
JSON
{
  "hex": "#afb03e",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 62
  },
  "hsl": {
    "h": 60.526,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73485,
    "c": 0.13456,
    "h": 109.8
  },
  "luminance": 0.40512
}

Semantic roles & 50–950 ramp

primary
#AFB03E
secondary
#8787C3
accent
#50D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB03E

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

Preview Lab → · Contrast checker → · Palette generator →

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