#CFB762#CFB762

#CFB762 is a light, moderate yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.109 H 94.0°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CFB762
RGBrgb(207, 183, 98)
HSLhsl(47, 53%, 60%)
HSVhsv(47, 53%, 81%)
CMYKcmyk(0%, 11.6%, 52.7%, 18.8%)
CIE-LABlab(74.84, -2.20, 45.92)
CIE-LCHlch(74.84, 45.98, 92.75°)
OKLaboklab(78.24% -0.0075 0.1087)
OKLCHoklch(78.24% 0.109 94)
XYZxyz(44.8718, 48.0162, 18.4574)
Luminance0.4801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB762 #627ACF
analogous
#CF8162 #CFB762 #B1CF62
triadic
#CFB762 #62CFB7 #B762CF
tetradic
#CFB762 #62CF81 #627ACF #CF62B1
square
#CFB762 #62CF81 #627ACF #CF62B1
split-complementary
#CFB762 #62B1CF #8162CF
monochromatic
#8C762B #BB9E39 #CFB762 #DDCC91 #ECE2C0

Accessibility & contrast

On white

1.98
#CFB762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CFB762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB762
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB762#FFFFFF#000000##000000
##CFB7621.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45A
Deuteranopia (green-blind)
#CDBB65
Tritanopia (blue-blind)
#DDABA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb762;
/* rgb */ color: rgb(207, 183, 98);
/* oklch */ color: oklch(78.2% 0.109 94.0);
Tailwind
colors: {
  custom: {
    50: '#e0cc91',
    500: '#cfb762',
    950: '#000000',
  },
}
SCSS
$custom: #cfb762;
$custom-light: #e0cc91;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb762",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 98
  },
  "hsl": {
    "h": 46.789,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78236,
    "c": 0.10894,
    "h": 94
  },
  "luminance": 0.48014
}

Semantic roles & 50–950 ramp

primary
#CFB762
secondary
#B1BBDB
accent
#6BDD4B
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #CFB762

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

Preview Lab → · Contrast checker → · Palette generator →

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