#CFB462#CFB462

#CFB462 is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.6% C 0.107 H 91.6°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#CFB462
RGBrgb(207, 180, 98)
HSLhsl(45, 53%, 60%)
HSVhsv(45, 53%, 81%)
CMYKcmyk(0%, 13%, 52.7%, 18.8%)
CIE-LABlab(74.06, -0.63, 44.99)
CIE-LCHlch(74.06, 45.00, 90.80°)
OKLaboklab(77.62% -0.0029 0.1066)
OKLCHoklch(77.62% 0.107 91.6)
XYZxyz(44.2597, 46.7918, 18.2533)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB462 #627DCF
analogous
#CF7E62 #CFB462 #B3CF62
triadic
#CFB462 #62CFB4 #B462CF
tetradic
#CFB462 #62CF7E #627DCF #CF62B3
square
#CFB462 #62CF7E #627DCF #CF62B3
split-complementary
#CFB462 #62B3CF #7E62CF
monochromatic
#8C742B #BB9B39 #CFB462 #DDCA91 #ECE1C0

Accessibility & contrast

On white

2.03
#CFB462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#CFB462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB462
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB462#FFFFFF#000000##000000
##CFB4621.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B25B
Deuteranopia (green-blind)
#CBB965
Tritanopia (blue-blind)
#DDA8A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb462;
/* rgb */ color: rgb(207, 180, 98);
/* oklch */ color: oklch(77.6% 0.107 91.6);
Tailwind
colors: {
  custom: {
    50: '#e0ca90',
    500: '#cfb462',
    950: '#000000',
  },
}
SCSS
$custom: #cfb462;
$custom-light: #e0ca90;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb462",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 98
  },
  "hsl": {
    "h": 45.138,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.77621,
    "c": 0.10667,
    "h": 91.6
  },
  "luminance": 0.4679
}

Semantic roles & 50–950 ramp

primary
#CFB462
secondary
#B1BCDB
accent
#6FDD4B
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #CFB462

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

Preview Lab → · Contrast checker → · Palette generator →

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