#AFB630#AFB630

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

Color values

HEX#AFB630
RGBrgb(175, 182, 48)
HSLhsl(63, 58%, 45%)
HSVhsv(63, 74%, 71%)
CMYKcmyk(3.8%, 0%, 73.6%, 28.6%)
CIE-LABlab(71.41, -18.58, 62.90)
CIE-LCHlch(71.41, 65.59, 106.45°)
OKLaboklab(74.72% -0.0576 0.1387)
OKLCHoklch(74.72% 0.15 112.5)
XYZxyz(34.9418, 42.7841, 9.2132)
Luminance0.4278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB630 #3730B6
analogous
#B67A30 #AFB630 #6CB630
triadic
#AFB630 #30AFB6 #B630AF
tetradic
#AFB630 #30B67A #3730B6 #B6306C
square
#AFB630 #30B67A #3730B6 #B6306C
split-complementary
#AFB630 #306CB6 #7A30B6
monochromatic
#525516 #808623 #AFB630 #CBD152 #D9DE82

Accessibility & contrast

On white

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

On black

9.56
#AFB630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB630
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB630#FFFFFF#000000##000000
##AFB6301.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb630;
/* rgb */ color: rgb(175, 182, 48);
/* oklch */ color: oklch(74.7% 0.150 112.5);
Tailwind
colors: {
  custom: {
    50: '#cacb72',
    500: '#afb630',
    950: '#000000',
  },
}
SCSS
$custom: #afb630;
$custom-light: #cacb72;
$custom-dark: #000000;
JSON
{
  "hex": "#afb630",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 48
  },
  "hsl": {
    "h": 63.134,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74715,
    "c": 0.1502,
    "h": 112.5
  },
  "luminance": 0.42783
}

Semantic roles & 50–950 ramp

primary
#AFB630
secondary
#7F7BC7
accent
#46E14E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB630

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

Preview Lab → · Contrast checker → · Palette generator →

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