#CFB351#CFB351

#CFB351 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.2% C 0.121 H 93.4°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#CFB351
RGBrgb(207, 179, 81)
HSLhsl(47, 57%, 56%)
HSVhsv(47, 61%, 81%)
CMYKcmyk(0%, 13.5%, 60.9%, 18.8%)
CIE-LABlab(73.61, -1.41, 52.61)
CIE-LCHlch(73.61, 52.63, 91.54°)
OKLaboklab(77.21% -0.0072 0.1212)
OKLCHoklch(77.21% 0.121 93.4)
XYZxyz(43.3394, 46.1019, 14.3987)
Luminance0.4610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB351 #516DCF
analogous
#CF7451 #CFB351 #ACCF51
triadic
#CFB351 #51CFB3 #B351CF
tetradic
#CFB351 #51CF74 #516DCF #CF51AC
square
#CFB351 #51CF74 #516DCF #CF51AC
split-complementary
#CFB351 #51ACCF #7451CF
monochromatic
#826D24 #B29531 #CFB351 #DCC881 #E9DDB1

Accessibility & contrast

On white

2.05
#CFB351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#CFB351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB351
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB351#FFFFFF#000000##000000
##CFB3511.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B047
Deuteranopia (green-blind)
#CBB855
Tritanopia (blue-blind)
#DEA69E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb351;
/* rgb */ color: rgb(207, 179, 81);
/* oklch */ color: oklch(77.2% 0.121 93.4);
Tailwind
colors: {
  custom: {
    50: '#e1c985',
    500: '#cfb351',
    950: '#000000',
  },
}
SCSS
$custom: #cfb351;
$custom-light: #e1c985;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb351",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 81
  },
  "hsl": {
    "h": 46.667,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7721,
    "c": 0.12146,
    "h": 93.4
  },
  "luminance": 0.461
}

Semantic roles & 50–950 ramp

primary
#CFB351
secondary
#A4B0D8
accent
#6AE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB351

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

Preview Lab → · Contrast checker → · Palette generator →

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