#F0D23F#F0D23F

#F0D23F is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.5% C 0.160 H 97.1°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#F0D23F
RGBrgb(240, 210, 63)
HSLhsl(50, 86%, 59%)
HSVhsv(50, 74%, 94%)
CMYKcmyk(0%, 12.5%, 73.8%, 5.9%)
CIE-LABlab(84.47, -4.44, 72.07)
CIE-LCHlch(84.47, 72.21, 93.53°)
OKLaboklab(86.47% -0.0198 0.1585)
OKLCHoklch(86.47% 0.16 97.1)
XYZxyz(59.8820, 64.9805, 14.0900)
Luminance0.6498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D23F #3F5DF0
analogous
#F07A3F #F0D23F #B5F03F
triadic
#F0D23F #3FF0D2 #D23FF0
tetradic
#F0D23F #3FF07A #3F5DF0 #F03FB5
square
#F0D23F #3FF07A #3F5DF0 #F03FB5
split-complementary
#F0D23F #3FB5F0 #7A3FF0
monochromatic
#A88D0D #E0BD12 #F0D23F #F4DF78 #F9EDB1

Accessibility & contrast

On white

1.50
#F0D23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#F0D23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D23F
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D23F#FFFFFF#000000##000000
##F0D23F1.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD24
Deuteranopia (green-blind)
#EFD748
Tritanopia (blue-blind)
#FFC2B5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d23f;
/* rgb */ color: rgb(240, 210, 63);
/* oklch */ color: oklch(86.5% 0.160 97.1);
Tailwind
colors: {
  custom: {
    50: '#f9df7e',
    500: '#f0d23f',
    950: '#000000',
  },
}
SCSS
$custom: #f0d23f;
$custom-light: #f9df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d23f",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 63
  },
  "hsl": {
    "h": 49.831,
    "s": 85.507,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86469,
    "c": 0.15973,
    "h": 97.1
  },
  "luminance": 0.64977
}

Semantic roles & 50–950 ramp

primary
#F0D23F
secondary
#2A40A9
accent
#4FFC2C
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #F0D23F

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

Preview Lab → · Contrast checker → · Palette generator →

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