#CFD27A#CFD27A

#CFD27A is a very light, moderate yellow. Relative luminance 0.608; OKLCH L 84.2% C 0.111 H 110.3°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#CFD27A
RGBrgb(207, 210, 122)
HSLhsl(62, 49%, 65%)
HSVhsv(62, 42%, 82%)
CMYKcmyk(1.4%, 0%, 41.9%, 17.6%)
CIE-LABlab(82.25, -13.80, 43.16)
CIE-LCHlch(82.25, 45.31, 107.73°)
OKLaboklab(84.22% -0.0385 0.1043)
OKLCHoklch(84.22% 0.111 110.3)
XYZxyz(52.2923, 60.7647, 27.3827)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD27A #7D7AD2
analogous
#D2A97A #CFD27A #A3D27A
triadic
#CFD27A #7ACFD2 #D27ACF
tetradic
#CFD27A #7AD2A9 #7D7AD2 #D27AA3
square
#CFD27A #7AD2A9 #7D7AD2 #D27AA3
split-complementary
#CFD27A #7AA3D2 #A97AD2
monochromatic
#999D35 #BEC34C #CFD27A #E0E1A8 #F0F1D5

Accessibility & contrast

On white

1.60
#CFD27A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#CFD27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD27A
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD27A#FFFFFF#000000##000000
##CFD27A1.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB73
Deuteranopia (green-blind)
#DFCE7E
Tritanopia (blue-blind)
#DAC8BD
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd27a;
/* rgb */ color: rgb(207, 210, 122);
/* oklch */ color: oklch(84.2% 0.111 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdfa2',
    500: '#cfd27a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd27a;
$custom-light: #dfdfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd27a",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 122
  },
  "hsl": {
    "h": 62.045,
    "s": 49.438,
    "l": 65.098
  },
  "oklch": {
    "l": 0.84218,
    "c": 0.1112,
    "h": 110.3
  },
  "luminance": 0.60764
}

Semantic roles & 50–950 ramp

primary
#CFD27A
secondary
#514FA2
accent
#29BD2E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD27A

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

Preview Lab → · Contrast checker → · Palette generator →

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