#DABF4B#DABF4B

#DABF4B is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.7% C 0.137 H 96.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#DABF4B
RGBrgb(218, 191, 75)
HSLhsl(49, 66%, 57%)
HSVhsv(49, 66%, 85%)
CMYKcmyk(0%, 12.4%, 65.6%, 14.5%)
CIE-LABlab(77.68, -3.39, 59.98)
CIE-LCHlch(77.68, 60.07, 93.24°)
OKLaboklab(80.65% -0.0143 0.1358)
OKLCHoklch(80.65% 0.137 96)
XYZxyz(48.8165, 52.6775, 14.2517)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABF4B #4B66DA
analogous
#DA774B #DABF4B #AEDA4B
triadic
#DABF4B #4BDABF #BF4BDA
tetradic
#DABF4B #4BDA77 #4B66DA #DA4BAE
square
#DABF4B #4BDA77 #4B66DA #DA4BAE
split-complementary
#DABF4B #4BAEDA #774BDA
monochromatic
#8E781D #C0A328 #DABF4B #E4D17E #EFE3B1

Accessibility & contrast

On white

1.82
#DABF4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#DABF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABF4B
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABF4B#FFFFFF#000000##000000
##DABF4B1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3D
Deuteranopia (green-blind)
#D8C451
Tritanopia (blue-blind)
#EBB1A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dabf4b;
/* rgb */ color: rgb(218, 191, 75);
/* oklch */ color: oklch(80.7% 0.137 96.0);
Tailwind
colors: {
  custom: {
    50: '#e9d283',
    500: '#dabf4b',
    950: '#000000',
  },
}
SCSS
$custom: #dabf4b;
$custom-light: #e9d283;
$custom-dark: #000000;
JSON
{
  "hex": "#dabf4b",
  "rgb": {
    "r": 218,
    "g": 191,
    "b": 75
  },
  "hsl": {
    "h": 48.671,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80651,
    "c": 0.1365,
    "h": 96
  },
  "luminance": 0.52675
}

Semantic roles & 50–950 ramp

primary
#DABF4B
secondary
#364893
accent
#5FE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DABF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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