#F2D375#F2D375

#F2D375 is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.4% C 0.119 H 91.6°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#F2D375
RGBrgb(242, 211, 117)
HSLhsl(45, 83%, 70%)
HSVhsv(45, 52%, 95%)
CMYKcmyk(0%, 12.8%, 51.7%, 5.1%)
CIE-LABlab(85.38, -0.74, 50.10)
CIE-LCHlch(85.38, 50.11, 90.84°)
OKLaboklab(87.38% -0.0033 0.1189)
OKLCHoklch(87.38% 0.119 91.6)
XYZxyz(63.1254, 66.7530, 26.3857)
Luminance0.6675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D375 #7594F2
analogous
#F29475 #F2D375 #D2F275
triadic
#F2D375 #75F2D3 #D375F2
tetradic
#F2D375 #75F294 #7594F2 #F275D2
square
#F2D375 #75F294 #7594F2 #F275D2
split-complementary
#F2D375 #75D2F2 #9475F2
monochromatic
#D8A814 #EDC13D #F2D375 #F7E5AD #FCF6E3

Accessibility & contrast

On white

1.46
#F2D375 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#F2D375 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D375
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D375#FFFFFF#000000##000000
##F2D3751.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06D
Deuteranopia (green-blind)
#EDD979
Tritanopia (blue-blind)
#FFC6BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d375;
/* rgb */ color: rgb(242, 211, 117);
/* oklch */ color: oklch(87.4% 0.119 91.6);
Tailwind
colors: {
  custom: {
    50: '#f9e09f',
    500: '#f2d375',
    950: '#000000',
  },
}
SCSS
$custom: #f2d375;
$custom-light: #f9e09f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d375",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 117
  },
  "hsl": {
    "h": 45.12,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87379,
    "c": 0.11898,
    "h": 91.6
  },
  "luminance": 0.6675
}

Semantic roles & 50–950 ramp

primary
#F2D375
secondary
#3F62CC
accent
#3CDF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D375

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

Preview Lab → · Contrast checker → · Palette generator →

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