#FAF35D#FAF35D

#FAF35D is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.3% C 0.167 H 106.6°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#FAF35D
RGBrgb(250, 243, 93)
HSLhsl(57, 94%, 67%)
HSVhsv(57, 63%, 98%)
CMYKcmyk(0%, 2.8%, 62.8%, 2%)
CIE-LABlab(93.98, -15.20, 70.62)
CIE-LCHlch(93.98, 72.24, 102.15°)
OKLaboklab(94.28% -0.0478 0.1601)
OKLCHoklch(94.28% 0.167 106.6)
XYZxyz(73.4533, 85.2179, 22.9333)
Luminance0.8521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF35D #5D64FA
analogous
#FAA55D #FAF35D #B2FA5D
triadic
#FAF35D #5DFAF3 #F35DFA
tetradic
#FAF35D #5DFAA5 #5D64FA #FA5DB2
square
#FAF35D #5DFAA5 #5D64FA #FA5DB2
split-complementary
#FAF35D #5DB2FA #A55DFA
monochromatic
#D6CD07 #F8EF22 #FAF35D #FCF798 #FEFCD4

Accessibility & contrast

On white

1.16
#FAF35D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#FAF35D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF35D
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF35D#FFFFFF#000000##000000
##FAF35D1.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4A
Deuteranopia (green-blind)
#FFF166
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf35d;
/* rgb */ color: rgb(250, 243, 93);
/* oklch */ color: oklch(94.3% 0.167 106.6);
Tailwind
colors: {
  custom: {
    50: '#fff691',
    500: '#faf35d',
    950: '#000000',
  },
}
SCSS
$custom: #faf35d;
$custom-light: #fff691;
$custom-dark: #000000;
JSON
{
  "hex": "#faf35d",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 93
  },
  "hsl": {
    "h": 57.325,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94284,
    "c": 0.16706,
    "h": 106.6
  },
  "luminance": 0.85215
}

Semantic roles & 50–950 ramp

primary
#FAF35D
secondary
#2B32D0
accent
#0AE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAF35D

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

Preview Lab → · Contrast checker → · Palette generator →

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