#AFB629#AFB629

#AFB629 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.7% C 0.154 H 112.5°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#AFB629
RGBrgb(175, 182, 41)
HSLhsl(63, 63%, 44%)
HSVhsv(63, 77%, 71%)
CMYKcmyk(3.8%, 0%, 77.5%, 28.6%)
CIE-LABlab(71.37, -18.88, 65.13)
CIE-LCHlch(71.37, 67.81, 106.16°)
OKLaboklab(74.67% -0.059 0.1422)
OKLCHoklch(74.67% 0.154 112.5)
XYZxyz(34.8085, 42.7308, 8.5116)
Luminance0.4273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB629 #3029B6
analogous
#B67629 #AFB629 #68B629
triadic
#AFB629 #29AFB6 #B629AF
tetradic
#AFB629 #29B676 #3029B6 #B62968
square
#AFB629 #29B676 #3029B6 #B62968
split-complementary
#AFB629 #2968B6 #7629B6
monochromatic
#4F5212 #7F841E #AFB629 #CED547 #DCE179

Accessibility & contrast

On white

2.20
#AFB629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#AFB629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB629
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB629#FFFFFF#000000##000000
##AFB6291.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#BBAB9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb629;
/* rgb */ color: rgb(175, 182, 41);
/* oklch */ color: oklch(74.7% 0.154 112.5);
Tailwind
colors: {
  custom: {
    50: '#cbcb6f',
    500: '#afb629',
    950: '#000000',
  },
}
SCSS
$custom: #afb629;
$custom-light: #cbcb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#afb629",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 41
  },
  "hsl": {
    "h": 62.979,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74674,
    "c": 0.15395,
    "h": 112.5
  },
  "luminance": 0.4273
}

Semantic roles & 50–950 ramp

primary
#AFB629
secondary
#7672C9
accent
#42E64A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFB629

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

Preview Lab → · Contrast checker → · Palette generator →

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