#AFB03C#AFB03C

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

Color values

HEX#AFB03C
RGBrgb(175, 176, 60)
HSLhsl(61, 49%, 46%)
HSVhsv(61, 66%, 69%)
CMYKcmyk(0.6%, 0%, 65.9%, 31%)
CIE-LABlab(69.82, -14.90, 56.84)
CIE-LCHlch(69.82, 58.76, 104.69°)
OKLaboklab(73.47% -0.0461 0.128)
OKLCHoklch(73.47% 0.136 109.8)
XYZxyz(34.0212, 40.4918, 10.2977)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB03C #3D3CB0
analogous
#B0773C #AFB03C #75B03C
triadic
#AFB03C #3CAFB0 #B03CAF
tetradic
#AFB03C #3CB077 #3D3CB0 #B03C75
square
#AFB03C #3CB077 #3D3CB0 #B03C75
split-complementary
#AFB03C #3C75B0 #773CB0
monochromatic
#54551D #82822C #AFB03C #C8C960 #D8D88E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB03C#FFFFFF#000000##000000
##AFB03C1.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)
#BEA92C
Deuteranopia (green-blind)
#BFAC44
Tritanopia (blue-blind)
#BBA598
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb03c;
/* rgb */ color: rgb(175, 176, 60);
/* oklch */ color: oklch(73.5% 0.136 109.8);
Tailwind
colors: {
  custom: {
    50: '#cac778',
    500: '#afb03c',
    950: '#000000',
  },
}
SCSS
$custom: #afb03c;
$custom-light: #cac778;
$custom-dark: #000000;
JSON
{
  "hex": "#afb03c",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 60
  },
  "hsl": {
    "h": 60.517,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73468,
    "c": 0.13605,
    "h": 109.8
  },
  "luminance": 0.40491
}

Semantic roles & 50–950 ramp

primary
#AFB03C
secondary
#8585C3
accent
#4FD950
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB03C

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

Preview Lab → · Contrast checker → · Palette generator →

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