#CFB941#CFB941

#CFB941 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.138 H 98.7°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#CFB941
RGBrgb(207, 185, 65)
HSLhsl(51, 60%, 53%)
HSVhsv(51, 69%, 81%)
CMYKcmyk(0%, 10.6%, 68.6%, 18.8%)
CIE-LABlab(75.04, -5.53, 61.05)
CIE-LCHlch(75.04, 61.30, 95.18°)
OKLaboklab(78.3% -0.0209 0.1367)
OKLCHoklch(78.3% 0.138 98.7)
XYZxyz(44.0373, 48.3471, 12.0123)
Luminance0.4834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB941 #4157CF
analogous
#CF7241 #CFB941 #9ECF41
triadic
#CFB941 #41CFB9 #B941CF
tetradic
#CFB941 #41CF72 #4157CF #CF419E
square
#CFB941 #41CF72 #4157CF #CF419E
split-complementary
#CFB941 #419ECF #7241CF
monochromatic
#776A1E #A8952B #CFB941 #DBCB72 #E8DDA3

Accessibility & contrast

On white

1.97
#CFB941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#CFB941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB941
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB941#FFFFFF#000000##000000
##CFB9411.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB430
Deuteranopia (green-blind)
#D1BC48
Tritanopia (blue-blind)
#DFACA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb941;
/* rgb */ color: rgb(207, 185, 65);
/* oklch */ color: oklch(78.3% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#e1cd7c',
    500: '#cfb941',
    950: '#000000',
  },
}
SCSS
$custom: #cfb941;
$custom-light: #e1cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb941",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 50.704,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78299,
    "c": 0.13831,
    "h": 98.7
  },
  "luminance": 0.48345
}

Semantic roles & 50–950 ramp

primary
#CFB941
secondary
#97A1D4
accent
#5DE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB941

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

Preview Lab → · Contrast checker → · Palette generator →

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