#CFB442#CFB442

#CFB442 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.134 H 95.7°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#CFB442
RGBrgb(207, 180, 66)
HSLhsl(49, 59%, 54%)
HSVhsv(49, 68%, 81%)
CMYKcmyk(0%, 13%, 68.1%, 18.8%)
CIE-LABlab(73.74, -2.87, 59.31)
CIE-LCHlch(73.74, 59.38, 92.77°)
OKLaboklab(77.27% -0.0132 0.1332)
OKLCHoklch(77.27% 0.134 95.7)
XYZxyz(43.0388, 46.3035, 11.8237)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB442 #425DCF
analogous
#CF6D42 #CFB442 #A3CF42
triadic
#CFB442 #42CFB4 #B442CF
tetradic
#CFB442 #42CF6D #425DCF #CF42A3
square
#CFB442 #42CF6D #425DCF #CF42A3
split-complementary
#CFB442 #42A3CF #6D42CF
monochromatic
#78671F #A9912B #CFB442 #DBC773 #E8DBA4

Accessibility & contrast

On white

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

On black

10.26
#CFB442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB442
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB442#FFFFFF#000000##000000
##CFB4421.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B033
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#DFA79D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb442;
/* rgb */ color: rgb(207, 180, 66);
/* oklch */ color: oklch(77.3% 0.134 95.7);
Tailwind
colors: {
  custom: {
    50: '#e1ca7c',
    500: '#cfb442',
    950: '#000000',
  },
}
SCSS
$custom: #cfb442;
$custom-light: #e1ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb442",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 48.511,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77271,
    "c": 0.13387,
    "h": 95.7
  },
  "luminance": 0.46301
}

Semantic roles & 50–950 ramp

primary
#CFB442
secondary
#98A4D5
accent
#63E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB442

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

Preview Lab → · Contrast checker → · Palette generator →

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