#CFC181#CFC181

#CFC181 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.085 H 97.3°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CFC181
RGBrgb(207, 193, 129)
HSLhsl(49, 45%, 66%)
HSVhsv(49, 38%, 81%)
CMYKcmyk(0%, 6.8%, 37.7%, 18.8%)
CIE-LABlab(77.87, -4.34, 34.02)
CIE-LCHlch(77.87, 34.30, 97.26°)
OKLaboklab(80.77% -0.0108 0.0838)
OKLCHoklch(80.77% 0.085 97.3)
XYZxyz(48.7654, 52.9918, 28.4243)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC181 #818FCF
analogous
#CF9A81 #CFC181 #B6CF81
triadic
#CFC181 #81CFC1 #C181CF
tetradic
#CFC181 #81CF9A #818FCF #CF81B6
square
#CFC181 #81CF9A #818FCF #CF81B6
split-complementary
#CFC181 #81B6CF #9A81CF
monochromatic
#9B893B #BEAB55 #CFC181 #E0D7AD #F1EDDA

Accessibility & contrast

On white

1.81
#CFC181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#CFC181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC181
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC181#FFFFFF#000000##000000
##CFC1811.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE7C
Deuteranopia (green-blind)
#D1C383
Tritanopia (blue-blind)
#DAB8B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc181;
/* rgb */ color: rgb(207, 193, 129);
/* oklch */ color: oklch(80.8% 0.085 97.3);
Tailwind
colors: {
  custom: {
    50: '#dfd3a6',
    500: '#cfc181',
    950: '#000000',
  },
}
SCSS
$custom: #cfc181;
$custom-light: #dfd3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc181",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 129
  },
  "hsl": {
    "h": 49.231,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.80774,
    "c": 0.08453,
    "h": 97.3
  },
  "luminance": 0.5299
}

Semantic roles & 50–950 ramp

primary
#CFC181
secondary
#5462A0
accent
#46B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC181

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

Preview Lab → · Contrast checker → · Palette generator →

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