#CFD98A#CFD98A

#CFD98A is a very light, moderate yellow. Relative luminance 0.647; OKLCH L 86.0% C 0.102 H 114.5°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#CFD98A
RGBrgb(207, 217, 138)
HSLhsl(68, 51%, 70%)
HSVhsv(68, 36%, 85%)
CMYKcmyk(4.6%, 0%, 36.4%, 14.9%)
CIE-LABlab(84.34, -15.52, 37.81)
CIE-LCHlch(84.34, 40.87, 112.32°)
OKLaboklab(85.96% -0.0423 0.093)
OKLCHoklch(85.96% 0.102 114.5)
XYZxyz(55.1327, 64.7267, 33.6289)
Luminance0.6473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD98A #948AD9
analogous
#D9BC8A #CFD98A #A8D98A
triadic
#CFD98A #8ACFD9 #D98ACF
tetradic
#CFD98A #8AD9BC #948AD9 #D98AA8
square
#CFD98A #8AD9BC #948AD9 #D98AA8
split-complementary
#CFD98A #8AA8D9 #BC8AD9
monochromatic
#A1B039 #BCCA5C #CFD98A #E2E8B8 #F5F7E6

Accessibility & contrast

On white

1.51
#CFD98A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#CFD98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD98A
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD98A#FFFFFF#000000##000000
##CFD98A1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D284
Deuteranopia (green-blind)
#E3D38E
Tritanopia (blue-blind)
#D8D1C5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd98a;
/* rgb */ color: rgb(207, 217, 138);
/* oklch */ color: oklch(86.0% 0.102 114.5);
Tailwind
colors: {
  custom: {
    50: '#dee4ad',
    500: '#cfd98a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd98a;
$custom-light: #dee4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd98a",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 138
  },
  "hsl": {
    "h": 67.595,
    "s": 50.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85956,
    "c": 0.10211,
    "h": 114.5
  },
  "luminance": 0.64726
}

Semantic roles & 50–950 ramp

primary
#CFD98A
secondary
#6358B0
accent
#27BE3A
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD98A

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

Preview Lab → · Contrast checker → · Palette generator →

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